diff options
author | wangmy <wangmy@fujitsu.com> | 2022-01-19 09:46:05 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-01-19 09:01:04 -0800 |
commit | 74e71f017a6851ebc159d3cf1b6c7c78dcd44291 (patch) | |
tree | fe00234ed98fa04f395f3b547738889e0b63989c /meta-oe/recipes-graphics/libsdl | |
parent | e3929a60d65b6cddc5ef3b5c5f17036c4bfe33c8 (diff) | |
download | meta-openembedded-74e71f017a6851ebc159d3cf1b6c7c78dcd44291.tar.gz |
libsdl2-ttf: upgrade 2.0.15 -> 2.0.18
refresh automake_foreign.patch
License-Update: year updated to 2022.
Changelog:
=========
-Added TTF_GetFreeTypeVersion() and TTF_GetHarfBuzzVersion()
-Added support for Signed Distance Field rendering with TTF_SetFontSDF() and
TTF_GetFontSDF()
-Added optional DPI-scaling of fonts, with the following new functions:
TTF_OpenFontDPI()
TTF_OpenFontIndexDPI()
TTF_OpenFontDPIRW()
TTF_OpenFontIndexDPIRW()
TTF_SetFontSizeDPI()
-Added 32-bit character support with:
TTF_GlyphIsProvided32()
TTF_GlyphMetrics32()
TTF_RenderGlyph32_Solid()
TTF_RenderGlyph32_Shaded()
TTF_RenderGlyph32_Blended()
TTF_GetFontKerningSizeGlyphs32()
-Added functions to set direction and script when using Harfbuzz:
TTF_SetDirection()
TTF_SetScript()
-Added extended API for text measurement:
TTF_MeasureText()
TTF_MeasureUTF8()
TTF_MeasureUNICODE()
-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
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/libsdl')
-rw-r--r-- | meta-oe/recipes-graphics/libsdl/libsdl2-ttf/automake_foreign.patch | 6 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.0.18.bb (renamed from meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.0.15.bb) | 12 |
2 files changed, 8 insertions, 10 deletions
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf/automake_foreign.patch b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf/automake_foreign.patch index 871e6e94e..962c11979 100644 --- a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf/automake_foreign.patch +++ b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf/automake_foreign.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From f9c4ad3a171d676e3818b8f6897f325ccf0b2203 Mon Sep 17 00:00:00 2001 | 1 | From 6ec375eaafc43a2b3c30a0e0e49447d231d81a67 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Tue, 9 May 2017 00:57:10 -0700 | 3 | Date: Tue, 9 May 2017 00:57:10 -0700 |
4 | 4 | ||
@@ -7,10 +7,10 @@ Date: Tue, 9 May 2017 00:57:10 -0700 | |||
7 | 1 file changed, 2 insertions(+) | 7 | 1 file changed, 2 insertions(+) |
8 | 8 | ||
9 | diff --git a/Makefile.am b/Makefile.am | 9 | diff --git a/Makefile.am b/Makefile.am |
10 | index 8166d91..8e05e49 100644 | 10 | index 8568dd2..5efc91e 100644 |
11 | --- a/Makefile.am | 11 | --- a/Makefile.am |
12 | +++ b/Makefile.am | 12 | +++ b/Makefile.am |
13 | @@ -2,6 +2,8 @@ | 13 | @@ -3,6 +3,8 @@ ACLOCAL_AMFLAGS = -I acinclude |
14 | 14 | ||
15 | lib_LTLIBRARIES = libSDL2_ttf.la | 15 | lib_LTLIBRARIES = libSDL2_ttf.la |
16 | 16 | ||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.0.15.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.0.18.bb index 0fd9916e9..513b41144 100644 --- a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.0.15.bb +++ b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.0.18.bb | |||
@@ -2,14 +2,12 @@ SUMMARY = "Simple DirectMedia Layer truetype font library" | |||
2 | SECTION = "libs" | 2 | SECTION = "libs" |
3 | DEPENDS = "virtual/libsdl2 freetype virtual/libgl" | 3 | DEPENDS = "virtual/libsdl2 freetype virtual/libgl" |
4 | LICENSE = "Zlib" | 4 | LICENSE = "Zlib" |
5 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=4bb27d550fdafcd8f8e4fb8cbb2775ef" | 5 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=e98cfd01ca78f683e9d035795810ce87" |
6 | 6 | ||
7 | SRC_URI = " \ | 7 | SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${PV}.tar.gz \ |
8 | http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${PV}.tar.gz \ | 8 | file://automake_foreign.patch \ |
9 | file://automake_foreign.patch \ | 9 | " |
10 | " | 10 | SRC_URI[sha256sum] = "7234eb8883514e019e7747c703e4a774575b18d435c22a4a29d068cb768a2251" |
11 | SRC_URI[md5sum] = "04fe06ff7623d7bdcb704e82f5f88391" | ||
12 | SRC_URI[sha256sum] = "a9eceb1ad88c1f1545cd7bd28e7cbc0b2c14191d40238f531a15b01b1b22cd33" | ||
13 | 11 | ||
14 | S = "${WORKDIR}/SDL2_ttf-${PV}" | 12 | S = "${WORKDIR}/SDL2_ttf-${PV}" |
15 | 13 | ||