bluebear94
ce658db2f3
ShapedText::push_hyphen: Use self.base for default hyphen range ( #2299 )
...
In the unlikely chance that we hyphenate after an empty line, we
set the glyph range to self.base..self.base so that subtracting
Fixes #2283 .
2023-10-03 15:02:27 +02:00
damaxwell
8a57395ee4
Support OpenType writing script ( #1697 )
2023-07-19 12:25:24 +02:00
Laurenz
1b2b53ecb9
Require font to be a named argument
2023-03-08 10:44:24 +01:00
Laurenz
c3a387b8f7
Segment by script
2022-04-12 22:23:08 +02:00
Laurenz
23d108c8e0
Font fallback
2022-04-03 13:55:58 +02:00
Laurenz
2a3d0f4b39
Set Rules Episode VII: The Set Awakens
2021-12-15 20:27:41 +01:00
Laurenz
210c4d9373
Move lang
functionality into par
2021-11-16 00:37:33 +01:00
Laurenz
2818ceee44
New default fonts
2021-09-30 22:50:14 +02:00
Laurenz
594809e35b
Library functions behave more imperatively
...
- Templates scope state changes
- State-modifying function operate in place instead of returning a template
- Internal template representation contains actual owned nodes instead of a pointer to a syntax tree + an expression map
- No more wide calls
2021-08-17 22:20:37 +02:00
Laurenz
7e2c217cbc
Rename some library arguments
...
- font
- color -> fill
- shorthands for families and size
- decoration functions
- color -> stroke
- strength -> thickness
- position -> offset
- invert offsets: now positive goes downwards just like the rest of typst
2021-07-08 21:42:36 +02:00
Laurenz
32a6b673bc
Make use of wide calls
2021-06-29 13:49:50 +02:00
Laurenz
63cf361496
Make font take everything as keyword arguments
2021-06-25 18:14:19 +02:00
Laurenz
076e767b0e
Do binary search and find the outermost glyph with the text index 🔍
...
Co-Authored-By: Martin <mhaug@live.de>
2021-04-07 00:24:42 +02:00
Laurenz
12a604fec8
BiDi tests ✅
2021-03-30 14:31:50 +02:00
Laurenz
9c040a9d2b
Move around test cases 🚚
2021-03-29 14:51:54 +02:00