Commit Graph

271 Commits

Author SHA1 Message Date
minjaesong
1614260ce7 ligatures only available when interchar=0 2024-06-02 21:20:48 +09:00
minjaesong
fb60edb9a4 typesetting: minute visual adjustments 2024-06-01 16:53:31 +09:00
minjaesong
47eae57418 fi fl ligatures 2024-06-01 01:27:41 +09:00
minjaesong
2a15785f57 better interchar handling for MovableType 2024-05-23 14:26:22 +09:00
minjaesong
95dfcb91b5 better interchar handling 2024-05-23 14:04:42 +09:00
minjaesong
033fcab9ec dynamic badness 2024-05-22 14:03:01 +09:00
minjaesong
b7521ccabf more whitespaces for typesetting 2024-05-22 01:04:25 +09:00
minjaesong
3cc397d2db make SHYs work again 2024-05-22 00:36:22 +09:00
minjaesong
1f37ee1f4f fix: larger scale font whitespaces 2024-05-21 23:21:24 +09:00
minjaesong
2205e1bc44 space is 5px again but for MovableType only 2024-05-21 17:09:48 +09:00
minjaesong
3500f17e08 fix: quirks with getting width of blocks and typesetting 2024-05-21 16:47:06 +09:00
minjaesong
39ff4cd92c Deterministic randomiser because Timsort was complaining 2024-05-20 00:55:37 +09:00
minjaesong
2c10407c17 zwsp and thsp are now recognised as whitespaces 2024-05-19 00:46:30 +09:00
minjaesong
1f318837e7 minor changes never end 2024-05-18 20:12:07 +09:00
minjaesong
a5fc22661c fix: block involving OBJs are not properly justified 2024-05-18 02:57:28 +09:00
minjaesong
d8dc1c8cfd CodepointSequence.toReadable() is now public 2024-05-17 23:58:50 +09:00
minjaesong
42c72a6a90 drawing text without GPU 2024-05-16 01:35:16 +09:00
minjaesong
385dc8bdff fix: bad hyphenation on Hangul because the code was always assuming left part of the 'hyphenated' text always ends with a hyphen 2024-05-14 00:34:53 +09:00
minjaesong
a58abd813f til antonym of indent is exdent 2024-05-10 02:48:04 +09:00
minjaesong
8b38e3e47d fix: bad behaviour 2024-05-10 02:05:56 +09:00
minjaesong
bd333293c4 fix: bad hyphenation calc 2024-05-10 01:44:44 +09:00
minjaesong
c415c29fb5 unindentation if the line starts with hangables 2024-05-10 00:09:10 +09:00
minjaesong
d31b5e4068 two more paragraph alignment: raggedleft and centred 2024-05-09 16:47:42 +09:00
minjaesong
e2d6d3724c fix: bad width calculation on raggedright 2024-05-09 15:59:30 +09:00
minjaesong
48339b0599 hyphens are now hangable 2024-05-09 03:45:11 +09:00
minjaesong
0dade179d8 fix: nbsp not typesetted correctly 2024-05-05 01:46:13 +09:00
minjaesong
fb4cfb6e6d raggedright typesetting 2024-05-04 02:50:00 +09:00
minjaesong
06fcffde56 commenting out debug prints 2024-05-03 16:11:44 +09:00
minjaesong
accbecfb3e new charset override 'codestyle ascii' 2024-05-03 16:09:18 +09:00
minjaesong
b3e6f61f96 commenting out debug prints 2024-05-03 03:15:27 +09:00
minjaesong
c2b491cc8d more fair penaltying 2024-05-03 03:08:51 +09:00
minjaesong
b7ecfd910e fix: wide glue with size multiple of 16 would cause issues 2024-05-02 17:47:58 +09:00
minjaesong
a719d872c2 fix: font scaling and interchar would cause typesetting to fail 2024-05-01 02:08:38 +09:00
minjaesong
2d99f39a99 fix: colour code gets broken up by the hyphenation 2024-05-01 00:46:06 +09:00
minjaesong
d43a2d5bec more adhoc adjustments 2024-04-30 18:50:24 +09:00
minjaesong
b2acb83848 more arbitrary conditions 2024-04-30 18:32:45 +09:00
minjaesong
949187345d better penalty? 2024-04-30 18:22:54 +09:00
minjaesong
07d4504a89 testing new penalty eq 2024-04-30 18:04:47 +09:00
minjaesong
aa45f942e3 freezing slugs into a single line of text 2024-04-30 16:39:32 +09:00
minjaesong
7384d970d5 better-behaving hyphenation penalty 2024-04-30 04:59:08 +09:00
minjaesong
8e29db9c4a smarter hyphenation 2024-04-29 16:47:11 +09:00
minjaesong
8bf0642b3f fix: space before hyphen gets ignored 2024-04-29 01:40:02 +09:00
minjaesong
87492c1f0b better text scaling support 2024-04-28 22:25:00 +09:00
minjaesong
2196a4b2e7 faster typesetting by not creating glyph caches 2024-04-28 21:18:44 +09:00
minjaesong
ee51cafa6c hyphnation rules for other scripts 2024-04-28 19:41:19 +09:00
minjaesong
57ce0363f2 better tokenising for quots 2024-04-28 18:15:05 +09:00
minjaesong
77e01151b5 fix: poor handling of pre-hyphenated words 2024-04-28 17:52:41 +09:00
minjaesong
869d424292 fix: hyphenated slug would not contract 2024-04-28 17:33:37 +09:00
minjaesong
631e60bb73 hangable colon and semicolon 2024-04-28 16:24:00 +09:00
minjaesong
6410256e6a a space is narrower 4px; tokenising CamelCase 2024-04-28 14:28:17 +09:00