Commit Graph

91 Commits

Author SHA1 Message Date
Chlumsky b1969ab2e8 Build fixes, updated changelog and readme 2022-11-06 18:41:36 +01:00
Chlumsky 3f917b8019 Versioning rework 2022-11-06 12:41:11 +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 4e8ff2321e Updated CMake and project files 2022-01-14 11:16:31 +01:00
Chlumsky 1b2bee7d8e Removed SignedDistance::INFINITE constant 2021-12-21 21:28:56 +01:00
Chlumsky 64a91eec3c Added -windingpreprocess option 2021-11-14 13:20:41 +01:00
Chlumsky 0b633e75f7 Improved detection of numerical errors in cubic equation solver 2021-11-13 17:02:40 +01: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
Jairard 24a3a3021f
Update cmake include directories (#126)
* Remove duplicate file filter for msdfgen-ext_SOURCES

* Fix build interface include directories

The root is exposed in ordered to have

	#include <msdfgen.h>

in client code, and not

	#include <msdfgen/msdfgen.h>
2021-08-08 19:27:31 +02:00
Chlumsky 1b3b6b9850 Very minor refactor 2021-07-09 15:35:25 +02:00
Chlumsky 35caf38378 MSDF error correction edge case fix 2021-07-08 19:44:18 +02:00
SpaceIm 3e4570f8af
fix install target for iOS (#125) 2021-07-05 23:42:12 +02:00
Chlumsky 0f9c93e686 Version 1.9 2021-05-28 19:50:40 +02:00
Chlumsky acb01df098 Edge coloring by edge to edge distance - experimental version 2021-05-28 19:26:41 +02:00
Chlumsky dc36f7140e Error correction algorithm expanded 2021-04-11 19:27:01 +02:00
Chlumsky cf78977b47 Added API to load a font from bytes 2021-04-08 19:19:32 +02:00
Viktor Chlumský 5f27bdfb1c Complete rework of MSDF error correction, merged with artifact patcher 2021-04-06 01:20:03 +02:00
Viktor Chlumský 37a1fff421 Scale and translation arguments refactored as Projection, generator configuration WIP 2021-03-31 00:33:47 +02:00
Viktor Chlumský 83326187dd Fixed a minor bug in edge artifact patcher 2021-03-28 17:19:30 +02:00
Viktor Chlumský 5d756c05cb Edge distance minor optimization 2021-03-27 10:21:05 +01:00
Luminiscental ae7fc5e7a5
Improve cmake configuration for use as a library (#121)
* Use freetype target if it already exists in cmake build

* Add cmake option controlling install targets
2021-03-05 18:15:54 +01:00
Luminiscental b681ec6527
Guard library pragma comments out of cmake builds (#120) 2021-02-15 16:13:18 +01:00
Viktor Chlumský 0b564462ef Readme update - pictures made compatible with GitHub dark mode, added link to Atlas Gen, new example shader 2021-01-31 18:46:32 +01:00
Viktor Chlumský 9af250c7d6 Analytic length of quadratic segment 2020-10-30 10:02:40 +01:00
Viktor Chlumský 9d22335ea0 Skia integration - preprocessing of shape geometry 2020-10-17 13:12:23 +02:00
Viktor Chlumský fe910c8b5a Added algorithm to fix contour windings, low level optimization 2020-10-17 11:30:27 +02:00
Viktor Chlumský b22f79ed27 Pseudodistance evaluation improvement, edge distance cache fix 2020-10-16 14:49:04 +02:00
Viktor Chlumský 80039d7ed6 Convergent corner elimination routine added to shape normalization 2020-10-11 23:51:54 +02:00
Viktor Chlumský cddc445bcc Project configuration update 2020-10-11 21:13:32 +02:00
Viktor Chlumský 8c6fb790b5 Fixed an edge case in cubic curve distance evaluation 2020-10-11 15:37:44 +02:00
Viktor Chlumský 17ea97c085 Fixed critical error in quadratic curve distance evaluation 2020-10-10 22:24:34 +02:00
Viktor Chlumský 38ef289f25 Added glyph loading by glyph index, passing own FT_Face handle 2020-10-10 12:12:52 +02:00
Viktor Chlumský 9d5c7c54e8 Added output distance shift argument 2020-10-10 10:02:45 +02:00
Chlumsky 82364f92ec Compiler warning fixes 2020-10-08 10:30:28 +02:00
Chlumsky 010f3c92f1 New MSDF edge artifact elimination routine, core algorithm refactor 2020-10-07 23:09:09 +02:00
Viktor Chlumský 1537b787c0
Fixed title page layout for GitHub redesign 2020-07-08 12:33:52 +02:00
Chlumsky 05966eed36 CMake fix for Visual Studio 2020-04-15 22:14:14 +02:00
Guillaume Racicot 31dda2d474
Modernize cmake and allow installation (#104) 2020-04-15 21:23:45 +02:00
Viktor Chlumský b50b2cba1d
Merge pull request #100 from robspearman/master
Allow build on GCC 8.3.1
2020-03-15 17:44:26 +01:00
Rob Spearman 74907b3da3 Allow build on GCC 8.3.1 2020-03-15 09:24:03 -07:00
Viktor Chlumský 8ebb37da4e Core algorithm performance optimization 2020-03-14 19:19:17 +01:00
Viktor Chlumský 5b5272e7a8 Scanline rasterization edge case fix 2020-03-08 23:34:51 +01:00
Viktor Chlumský 5427fe8f5a Version 1.7 2020-03-07 09:19:34 +01:00
Viktor Chlumský fd50406d67 Shape bounds refactor 2020-03-06 17:24:10 +01:00
Viktor Chlumský e88da21071 Ink trap edge coloring heuristic added 2020-03-06 17:16:26 +01:00
Viktor Chlumský e93c8d988c Added MTSDF mode 2020-03-06 17:09:59 +01:00