Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Feb 2015 08:58:21 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r378576 - in head/graphics/sdl_ttf: . files
Message-ID:  <201502070858.t178wLOM067032@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Sat Feb  7 08:58:20 2015
New Revision: 378576
URL: https://svnweb.freebsd.org/changeset/ports/378576
QAT: https://qat.redports.org/buildarchive/r378576/

Log:
  - Fix font rendering via TTF_RenderGlyph_Shaded()
  
  PR:		196655
  Submitted by:	jbeich@

Added:
  head/graphics/sdl_ttf/files/
  head/graphics/sdl_ttf/files/patch-bug1433   (contents, props changed)
Modified:
  head/graphics/sdl_ttf/Makefile

Modified: head/graphics/sdl_ttf/Makefile
==============================================================================
--- head/graphics/sdl_ttf/Makefile	Sat Feb  7 08:49:24 2015	(r378575)
+++ head/graphics/sdl_ttf/Makefile	Sat Feb  7 08:58:20 2015	(r378576)
@@ -3,7 +3,7 @@
 
 PORTNAME=	sdl_ttf
 PORTVERSION=	2.0.11
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.libsdl.org/projects/SDL_ttf/release/
 DISTNAME=	SDL_ttf-${PORTVERSION}

Added: head/graphics/sdl_ttf/files/patch-bug1433
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/sdl_ttf/files/patch-bug1433	Sat Feb  7 08:58:20 2015	(r378576)
@@ -0,0 +1,19 @@
+Description: Fix bug report "TTF_RenderGlyph_Shaded is broken"
+ Introduced in 2.0.11-2 (Sat, 03 Mar 2012).
+Author: Unknown
+Last-Update: 2012-03-03
+Bug-Debian: http://bugs.debian.org/661987
+Bug-Upstream: https://bugzilla.libsdl.org/show_bug.cgi?id=1433
+
+--- SDL_ttf.c
++++ SDL_ttf.c
+@@ -1752,7 +1752,7 @@
+ 	/* Copy the character from the pixmap */
+ 	src = glyph->pixmap.buffer;
+ 	dst = (Uint8*) textbuf->pixels;
+-	for ( row = 0; row < glyph->bitmap.rows; ++row ) {
++	for ( row = 0; row < glyph->pixmap.rows; ++row ) {
+ 		memcpy( dst, src, glyph->pixmap.width );
+ 		src += glyph->pixmap.pitch;
+ 		dst += textbuf->pitch;
+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502070858.t178wLOM067032>