Skip to content

Commit

Permalink
Updated README-migration.md with API changes
Browse files Browse the repository at this point in the history
Fixes #468
  • Loading branch information
slouken committed Jan 23, 2025
1 parent 1dd0b9c commit 661e537
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/README-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,10 @@ The following functions have been renamed:
* TTF_FontLineSkip() => TTF_GetFontLineSkip()
* TTF_GetFontWrappedAlign() => TTF_GetFontWrapAlignment()
* TTF_GlyphIsProvided() => TTF_FontHasGlyph()
* TTF_GlyphIsProvided32() => TTF_GlyphIsProvided()
* TTF_GlyphIsProvided32() => TTF_FontHasGlyph()
* TTF_GlyphMetrics() => TTF_GetGlyphMetrics()
* TTF_GlyphMetrics32() => TTF_GlyphMetrics()
* TTF_GlyphMetrics32() => TTF_GetGlyphMetrics()
* TTF_IsFontScalable() => TTF_FontIsScalable()
* TTF_MeasureUTF8() => TTF_MeasureText()
* TTF_RenderGlyph32_Blended() => TTF_RenderGlyph_Blended()
* TTF_RenderGlyph32_LCD() => TTF_RenderGlyph_LCD()
* TTF_RenderGlyph32_Shaded() => TTF_RenderGlyph_Shaded()
Expand All @@ -75,7 +74,9 @@ The following functions have been removed:
* TTF_FontFaces() - can be retrieved from the font FT_Face, available in TTF_PROP_FONT_FACE_POINTER
* TTF_GetFontKerningSizeGlyphs() - replaced with TTF_GetGlyphKerning()
* TTF_GetFontKerningSizeGlyphs32() - replaced with TTF_GetGlyphKerning()
* TTF_MeasureUNICODE()
* TTF_MeasureText() - replaced with TTF_MeasureString()
* TTF_MeasureUNICODE() - replaced with TTF_MeasureString()
* TTF_MeasureUTF8() - replaced with TTF_MeasureString()
* TTF_OpenFontDPI() - replaced with TTF_OpenFontWithProperties()
* TTF_OpenFontDPIIO() - replaced with TTF_OpenFontWithProperties()
* TTF_OpenFontIndex() - replaced with TTF_OpenFontWithProperties()
Expand Down

0 comments on commit 661e537

Please sign in to comment.