Phil Howard
a2e6a8838e
PicoVector: AF: Support for 16bit point count.
...
Somewhere in the conversion from C++ to C we lost support for 16-bit point counts.
Raise the internal point count to 16-bit, and check for a flag in the font.
If the flag is set, treat the point count as 16-bits, otherwise fallback to 8 for back compatibility.
2025-01-16 18:12:44 +00:00
Phil Howard
5e2ba8d6cc
PicoVector: Fix fonts not rendering with no transform set.
2025-01-16 16:32:34 +00:00
Mike Bell
4274cd183b
PicoVector: Apply overall transform to text rendering.
2025-01-16 16:32:34 +00:00
Mike Bell
6942bc7329
PicoVector: Add optional text max width and max height.
2025-01-16 16:32:34 +00:00
Phil Howard
230d9facab
PicoVector: Refactor text multiline support.
...
Drop dependence on null terminated strings, and for a final linebreak.
Bound all text processing using the text length.
2025-01-16 16:32:34 +00:00
Phil Howard
9989135926
PicoVector: Improve text rendering and control.
2025-01-16 16:32:34 +00:00
Phil Howard
34cd133cd1
PicoVector: Rewrite around new linked-lists poly.
2025-01-16 16:32:34 +00:00
Phil Howard
e35678e4c0
PicoVector: render text that doesn't end with a linebreak.
2025-01-16 16:32:34 +00:00
Phil Howard
26c310fbe4
PicoVector: fix pointer arithmatic in af_load_font_file.
...
Pointers were being incremented as if they were bytes, rather than larger
containers.
2025-01-16 16:32:34 +00:00
Phil Howard
29ee929d14
PicoVector: Break things until they work.
2025-01-16 16:32:34 +00:00
Phil Howard
dc251a42bf
PicoVector: alright-fonts bringup.
2025-01-16 16:32:34 +00:00