Bug 1062

Summary: HAVE_FT_BITMAP_SIZE_Y_PPEM
Product: xorg Reporter: Owen Taylor <otaylor>
Component: Lib/XftAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: dberkholz, keithp, mharris, mmokrejs
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 351    
Attachments:
Description Flags
Proposed fix none

Description Owen Taylor 2004-08-12 12:50:14 UTC
I'm seeing a problem where the standalone Xft library works fine with
FreeType-2.1.9 but the same code build as part of the monolithic X
tree is unable to load PCF fonts.

I think the problem is that the Xft configure.ac contains a check
for HAVE_FT_BITMAP_SIZE_Y_PPEM. When built in the Xorg tree this
will never be set.

I don't really have a good idea how to solve this....  probably
easiest is to replace the configure check with a #if on
FREETYPE_MAJOR/FREETYPE_MINOR/FREETYPE_PATCH.
Comment 1 Owen Taylor 2004-08-12 14:15:01 UTC
Created attachment 621 [details] [review]
Proposed fix

I've attached a proposed fix, not tested since I don't have a built
copy of the monolithic tree at the moment.
Comment 2 Mike A. Harris 2004-08-12 16:21:49 UTC
Adding to release blocker bug.
Comment 3 Søren Sandmann Pedersen 2004-08-13 11:29:06 UTC
Fri Aug 13 19:47:12 2004  Soeren Sandmann  <sandmann@redhat.com>

	* xftint.h: Make HAVE_FT_BITMAP_SIZE_Y_PPEM conditional on the
	FreeType version instead of proping it. This way it will work
	with the monolithic version too. #1062, Patch by Owen Taylor.

Comment 4 Martin Mokrejs 2004-09-17 13:23:40 UTC
I don't see this fix applied to tree at
CVSROOT=:pserver:anoncvs@anoncvs.xfree86.org:/cvs

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.