Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: edadma/freetype

v0.0.4

07 Jun 03:25
@edadma edadma

Choose a tag to compare

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
Loading

v0.0.3

16 Jan 22:30
@edadma edadma

Choose a tag to compare

What's Changed

  • Fix type conversion in getKerning and getCharIndex (use toUSize instead of toULong)
  • Add error checking to FT_Get_Kerning call

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.

Loading

v0.0.2

15 Jan 23:23
@edadma edadma

Choose a tag to compare

What's New

  • Add kerning support via FT_Get_Kerning and FT_Get_Char_Index
  • Add KerningMode enum (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
Loading

AltStyle によって変換されたページ (->オリジナル) /