Skip to content

Commit

Permalink
SDL2_ttf: update to 2.0.18.
Browse files Browse the repository at this point in the history
2.0.18:
Ozkan Sezer - Wed Jan  5 14:15:46 PST 2022
 * Added TTF_GetFreeTypeVersion() and TTF_GetHarfBuzzVersion()
Sylvain - Jan 16, 2021
 * Added support for Signed Distance Field rendering with TTF_SetFontSDF() and TTF_GetFontSDF()
David Ludwig - Dec 28, 2019
 * Added optional DPI-scaling of fonts, with the following new functions:
    TTF_OpenFontDPI()
    TTF_OpenFontIndexDPI()
    TTF_OpenFontDPIRW()
    TTF_OpenFontIndexDPIRW()
    TTF_SetFontSizeDPI()
Weard Anaether - Dec 2, 2019
 * Added 32-bit character support with:
    TTF_RenderGlyph32_Solid()
    TTF_RenderGlyph32_Shaded()
    TTF_RenderGlyph32_Blended()
    TTF_GetFontKerningSizeGlyphs32()
Arthur Danskin - Sep 3, 2019
 * Added 32-bit character support with TTF_GlyphIsProvided32() and TTF_GlyphMetrics32()
Sylvain - Apr 5, 2019
 * Added functions to set direction and script when using Harfbuzz:
    TTF_SetDirection()
    TTF_SetScript()
Sylvain - Mar 25, 2019
 * Added extended API for text measurement:
    TTF_MeasureText()
    TTF_MeasureUTF8()
    TTF_MeasureUNICODE()
Sylvain - Jan 31, 2019
 * Added TTF_SetFontSize() to set font size dynamically
 * Added 'Shaded' and 'Solid' text wrapped functions:
    TTF_RenderText_Solid_Wrapped()
    TTF_RenderUTF8_Solid_Wrapped()
    TTF_RenderUNICODE_Solid_Wrapped()
    TTF_RenderText_Shaded_Wrapped()
    TTF_RenderUTF8_Shaded_Wrapped()
    TTF_RenderUNICODE_Shaded_Wrapped()
 * Added TTF_HINTING_LIGHT_SUBPIXEL for better results at small text sizes at a performance cost
  • Loading branch information
0-wiz-0 committed Jan 16, 2022
1 parent 9c07f12 commit c18ad6a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
11 changes: 7 additions & 4 deletions fonts/SDL2_ttf/Makefile
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
# $NetBSD: Makefile,v 1.16 2021/12/08 16:02:04 adam Exp $
# $NetBSD: Makefile,v 1.17 2022/01/16 22:45:24 wiz Exp $

DISTNAME= SDL2_ttf-2.0.15
PKGREVISION= 4
CATEGORIES= devel
DISTNAME= SDL2_ttf-2.0.18
CATEGORIES= fonts devel
MASTER_SITES= https://www.libsdl.org/projects/SDL_ttf/release/

MAINTAINER= [email protected]
HOMEPAGE= https://www.libsdl.org/projects/SDL_ttf/
COMMENT= Use TrueType fonts in your SDL2 applications
LICENSE= zlib

USE_LANGUAGES= c c++11
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes

PKGCONFIG_OVERRIDE+= SDL2_ttf.pc.in

CHECK_PORTABILITY_SKIP+= Xcode/iOS/build-scripts/iosbuild.sh
CHECK_PORTABILITY_SKIP+= Xcode/tvOS/build-scripts/tvosbuild.sh

.include "../../devel/SDL2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
Expand Down
8 changes: 4 additions & 4 deletions fonts/SDL2_ttf/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.8 2021/10/26 10:27:01 nia Exp $
$NetBSD: distinfo,v 1.9 2022/01/16 22:45:24 wiz Exp $

BLAKE2s (SDL2_ttf-2.0.15.tar.gz) = 41dadcc438aa5437665b9b0544668c2befe40907053400b9d9ad751f4e546d8f
SHA512 (SDL2_ttf-2.0.15.tar.gz) = 30d685932c3dd6f2c94e2778357a5c502f0421374293d7102a64d92f9c7861229bf36bedf51c1a698b296a58c858ca442d97afb908b7df1592fc8d4f8ae8ddfd
Size (SDL2_ttf-2.0.15.tar.gz) = 4479718 bytes
BLAKE2s (SDL2_ttf-2.0.18.tar.gz) = 32d7d8e3eda19dd213959dd5af2ddbbbfb5640a88e2a8351d55c2c4465839e56
SHA512 (SDL2_ttf-2.0.18.tar.gz) = 9a211c07d4180fe3fb2f7614e907d1002ddf3bb77b57f62116f22dc29a6043f091deb6a8113656d26a44d2f06b9abcc372aa3e0761500fcf47b455406973a1c7
Size (SDL2_ttf-2.0.18.tar.gz) = 14896353 bytes

0 comments on commit c18ad6a

Please sign in to comment.