1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= SDL1 TrueType font rendering library
8 HOMEPAGE= http://www.libsdl.org/projects/SDL_ttf/
12 SITES[main]= http://www.libsdl.org/projects/SDL_ttf/release/
13 DISTFILE[1]= SDL_ttf-2.0.11.tar.gz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 BUILDRUN_DEPENDS= freetype:primary:standard
22 USES= gmake iconv libtool pkgconfig mesa
26 DISTNAME= SDL_ttf-2.0.11
28 FPC_EQUIVALENT= graphics/sdl_ttf
32 INSTALL_TARGET= install-strip
34 LDFLAGS= {{ICONV_LIB}}
37 ${INSTALL_PROGRAM} ${WRKSRC}/.libs/glfont ${STAGEDIR}${PREFIX}/bin
38 ${INSTALL_PROGRAM} ${WRKSRC}/.libs/showfont \
39 ${STAGEDIR}${PREFIX}/bin/sdl-showfont
41 [FILE:537:descriptions/desc.single]
42 This library is a wrapper around the excellent FreeType library.
44 This library allows you to use TrueType fonts to render text in SDL
47 Be careful when including fonts with your application, as many of them are
48 copyrighted. The Microsoft fonts, for example, are not freely
49 redistributable and even the free "web" fonts they provide are only
50 redistributable in their special executable installer form (May 1998).
51 There are plenty of freeware and shareware fonts available on the Internet
52 though, and may suit your purposes.
56 724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7 4053686 SDL_ttf-2.0.11.tar.gz
59 [FILE:155:manifests/plist.single]
66 libSDL_ttf-2.0.so.0.10.1
69 lib/pkgconfig/SDL_ttf.pc
72 [FILE:618:patches/patch-bug1433]
73 Description: Fix bug report "TTF_RenderGlyph_Shaded is broken"
74 Introduced in 2.0.11-2 (Sat, 03 Mar 2012).
76 Last-Update: 2012-03-03
77 Bug-Debian: http://bugs.debian.org/661987
78 Bug-Upstream: https://bugzilla.libsdl.org/show_bug.cgi?id=1433
83 /* Copy the character from the pixmap */
84 src = glyph->pixmap.buffer;
85 dst = (Uint8*) textbuf->pixels;
86 - for ( row = 0; row < glyph->bitmap.rows; ++row ) {
87 + for ( row = 0; row < glyph->pixmap.rows; ++row ) {
88 memcpy( dst, src, glyph->pixmap.width );
89 src += glyph->pixmap.pitch;
90 dst += textbuf->pitch;