Commit Graph

42 Commits

Author SHA1 Message Date
Chlumsky 5dc5f6260b Skia bug workaround, savePng crash fix 2024-04-23 17:35:09 +02:00
Chlumsky d034a702eb Alternative XML parser interface 2024-04-21 18:31:39 +02:00
Chlumsky c7a724c173 Minor FontCoordinateScaling tweaks 2024-04-21 12:17:13 +02:00
Chlumsky bc9f02e156 Fix for incorrect font coordinate scaling 2024-04-17 22:12:40 +02:00
Chlumsky 682381a03c Added getGlyphCount 2024-02-05 11:31:32 +01:00
Chlumsky b21499180d Fixed minor regression of previous commit 2024-01-06 23:30:16 +01:00
Chlumsky 49453c96f1 Replaced sscanf usage 2024-01-05 13:38:47 +01:00
Chlumsky 2357140784 Improved edge segment construction 2023-12-17 00:39:45 +01:00
Chlumsky f12d7ca000 Added macro config header to installation 2023-11-11 14:59:26 +01:00
Chlumsky f04dc6acd3 Support for SVG fill-rule 2023-11-08 12:01:43 +01:00
Chlumsky bd5f145672 Inlined Vector2 and SignedDistance for performance, minor coding style change 2023-10-11 23:59:32 +02:00
Chlumsky 16f2057bbc Fixed listFontVariationAxes 2023-09-09 17:39:48 +02:00
Chlumsky 052f5fffd7 Removed dynamic_cast 2023-07-24 20:53:08 +02:00
Chlumsky 0286aeb6eb Advanced SVG decoding 2023-04-15 17:33:32 +02:00
Chlumsky d576034d22 Added hidden option to disable variable fonts 2023-04-12 18:04:01 +02:00
Chlumsky 5eef2e5985 Added hidden options to disable SVG / PNG dependencies 2023-04-07 13:10:24 +02:00
Chlumsky 00d404686c Optimized includes 2023-04-07 12:02:22 +02:00
Chlumsky eeec8f222d Added readFreetypeOutline to font import 2023-02-18 11:43:15 +01:00
Chlumsky 496b656d8a Initial version of vcpkg-based build 2022-11-05 23:14:58 +01:00
Viktor Chlumský 99559ac1db
Variable fonts (#164)
Co-authored-by: themancalledjakob <github@jrkb.land>
2022-09-23 09:27:12 +02:00
Todd York 3300ab6869
Allow command line interface to accept glyph 0 as input (#149) 2022-04-07 23:20:44 +02:00
Chlumsky f1797ada88 Fixed edge coloring not restored if lost during preprocessing 2021-11-13 15:26:29 +01:00
Viktor Chlumský 22b3055247
CMake update (#131)
CMake build improvements & simplification
2021-09-30 08:19:54 +02:00
Chlumsky d07fa1d2c8 Exposed buildShapeFromSvgPath 2021-08-22 15:16:22 +02:00
Chlumsky cf78977b47 Added API to load a font from bytes 2021-04-08 19:19:32 +02:00
Luminiscental b681ec6527
Guard library pragma comments out of cmake builds (#120) 2021-02-15 16:13:18 +01:00
Viktor Chlumský 9d22335ea0 Skia integration - preprocessing of shape geometry 2020-10-17 13:12:23 +02:00
Viktor Chlumský 38ef289f25 Added glyph loading by glyph index, passing own FT_Face handle 2020-10-10 12:12:52 +02:00
Chlumsky 010f3c92f1 New MSDF edge artifact elimination routine, core algorithm refactor 2020-10-07 23:09:09 +02:00
Viktor Chlumský e93c8d988c Added MTSDF mode 2020-03-06 17:09:59 +01:00
Viktor Chlumský b9d6f0bb72 Added font metrics API, fixed glyph import edge case, fixed 8-bit PNG orientation 2020-01-12 11:40:49 +01:00
Viktor Chlumský 86acea7835 Added SDF fill error estimation, miter bounds computation 2019-04-22 19:30:33 +02:00
Chlumsky 997e42f734 Bitmap refactor 2019-04-20 22:05:54 +02:00
Viktor Chlumský 28ee740a33 SVG importer fixes: S, T curve commands, surplus commas 2017-07-23 20:04:10 +02:00
Viktor Chlumský 746767a62b SVG parser improvements 2017-06-05 15:09:56 +02:00
Viktor Chlumský 0e68504f44 V1.4: Overlapping contours, cubic distance fix, guessorder 2017-02-09 22:44:37 +01:00
Christopher Brown 60feec1a33
remove unused return value 2017-01-25 20:10:37 -08:00
Christopher Brown cae6677d28
svg import fixes and support 2017-01-25 19:54:14 -08:00
Viktor Chlumský 2ab2e6186c Font loading, reverseorder fixed, binary removed 2016-12-07 20:02:39 +01:00
Viktor Chlumský 4e443d8a72 Version 1.2 - Reverse order option, edge coloring seed, glyph loading fix 2016-07-21 18:26:15 +02:00
John-Philip Johansson dc2bf4479d Fix compile warnings on OSX
The following warnings were fixed:
* implicit conversion of NULL constant to 'bool'
* enumeration value '...' not handled in switch
2016-06-09 19:10:30 +02:00
Viktor Chlumský 61d3929db0 Version 1.0 2016-04-24 23:58:54 +02:00