-
Notifications
You must be signed in to change notification settings - Fork 0
Releases: edadma/freetype
Releases · edadma/freetype
v0.0.4
Scala Native bindings for FreeType.
Maven Central: "io.github.edadma" %%% "freetype" % "0.0.4"
0.0.4
Library.newMemoryFace(buffer, size, faceIndex)(FT_New_Memory_Face) — load a font face from bytes already in memory (e.g. a font embedded in the binary), without a file path.- Add a scalatest dependency and a real test covering the in-memory loader (the previous placeholder never ran, as scalatest wasn't on the classpath).
Assets 2
v0.0.3
What's Changed
- Fix type conversion in
getKerningandgetCharIndex(usetoUSizeinstead oftoULong) - Add error checking to
FT_Get_Kerningcall
Note: FreeType's FT_Get_Kerning only reads legacy kern tables. Modern fonts use GPOS tables for kerning, which requires HarfBuzz for proper text shaping.
Assets 2
v0.0.2
What's New
- Add kerning support via
FT_Get_KerningandFT_Get_Char_Index - Add
KerningModeenum (DEFAULT, UNFITTED, UNSCALED) - Add
Face.getKerning(left, right, mode)method - Add
Face.getCharIndex(charcode)method - Update build for Maven Central publishing
- Update to Scala 3.7.4, Scala Native 0.5.9