Commit Graph

33 Commits

Author SHA1 Message Date
K. Lange
aae9596888 text: Unify 'ellipsify' implementation in text library 2023-06-07 10:15:31 +09:00
K. Lange
6dc7c09c82 text: expose method to extend existing path with new text 2023-05-06 15:56:42 +09:00
K. Lange
6d2df80628 text: Path painting with textures from sprites 2023-04-08 14:32:46 +09:00
K. Lange
f9b76c20d1 text: adhere to context clipping when painting paths 2023-03-30 17:12:44 +09:00
K. Lange
c7ea083320 text: Contour edges don't have directions, let's make them different 2023-03-30 16:21:47 +09:00
K. Lange
8d27160b9e text: expose stroke-to-contour step
Not super useful right now since these shapes can have weird edges,
but might be useful for doing silly things with transformations,
and in the future we may have methods to simplify the paths to make
them more useful as a "stroke to path" step.
2023-03-30 16:12:48 +09:00
K. Lange
b550ebaf86 text: apply affine transformation matrices to Contours 2023-03-30 13:58:04 +09:00
K. Lange
606d7b8bb8 text: Expose vector engine, methods for drawing text to paths 2023-03-30 10:39:32 +09:00
K. Lange
0f56a62f3c text: New path stroking algorithm 2023-03-27 17:13:05 +09:00
K. Lange
06807a20f9 text: Obtain ascender + descender sizes 2023-03-25 17:29:15 +09:00
K. Lange
af69cd6369 text: Allow x-adjusted glyph rendering, for better kerning in caches 2022-08-22 13:36:30 +09:00
K. Lange
d7f73b3970 text: Add methods for rasterizing single glyphs 2022-08-22 12:28:39 +09:00
K. Lange
90cef82161 text: faster, though not as nice, stroking method 2022-04-24 19:39:14 -04:00
K. Lange
5301963a87 text: Should have been doing _two_ box blurs this whole time 2021-11-18 21:30:28 +09:00
K. Lange
d2214a94bb meta: I really should not have to keep doing this. Please stop stealing my _free_ code. 2021-11-08 06:45:11 +09:00
K. Lange
a281da4b82 text: Expose method for brute-force path stroke 2021-10-04 20:31:30 +09:00
K. Lange
56eff9a3e2 text: on second thought, cache the data not the font object, so each tt_font_from_shm is a unique ref 2021-08-28 14:53:22 +09:00
K. Lange
4d68b0bc4a text: bring back shm-stored fonts provided by compositor 2021-08-28 14:50:52 +09:00
K Lange
7d97b780e0 text: various rewrites 2021-08-27 09:00:33 +09:00
K. Lange
3c20f010b9 text: spot fix for clipped text shadows 2021-07-27 12:59:33 +09:00
K. Lange
5636d6e045 text: offset horizontal scanlines slightly to not bleed bottoms of glyphs into next pixel 2021-07-20 09:32:06 +09:00
K. Lange
670978932c text: read fonts with short glyf table offsets 2021-07-19 18:38:19 +09:00
K. Lange
b5d33500a6 text: fix overly trusting bounds calculation 2021-07-16 19:51:23 +09:00
K Lange
f47284ce7e text: support type 4 cmaps, old Microsoft fonts 2021-07-14 21:46:40 +09:00
K. Lange
f082dad327 text: handle off-curve start point 2021-07-07 20:21:40 +09:00
K. Lange
8b064947a7 lib: update docs 2021-07-07 17:17:55 +09:00
K. Lange
94a8706c3d text: support more flexible sizing in pt, px 2021-07-06 21:12:57 +09:00
K. Lange
0ffb6e330c text: read unitsPerEm from font, use for tt_set_size 2021-07-06 21:05:10 +09:00
K. Lange
26e387f5cd text: fix clipped right-hand-side of some glyphs 2021-07-06 19:44:42 +09:00
K. Lange
7b902c26fe font-preview: tool for viewing TrueType fonts 2021-07-06 19:43:09 +09:00
K. Lange
2b08195002 text: allocate subsamples based on glyph bounds 2021-07-06 17:14:51 +09:00
K. Lange
9a34ba2e44 text: shadowed text, port file-browser 2021-07-06 12:46:31 +09:00
K. Lange
18f46976f8 text: Introduce new TrueType implementation 2021-07-06 00:36:46 +09:00