Re: Problems with libXft-2.1.5 and bitmap fonts

Joe Marcus Clarke <[email protected]> Thu, 18 Mar 2004 16:40:47 -0500
Newsgroups gmane.comp.freedesktop.xlibs.general
Organization FreeBSD, Inc.
Message-ID <1079646047.772.61.camel@gyros>
--===============1627743520==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-qjoQfDntfUsUWwyPFQSV"


--=-qjoQfDntfUsUWwyPFQSV
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2004-03-18 at 16:32, Keith Packard wrote:
> Around 14 o'clock on Mar 18, Joe Marcus Clarke wrote:
>=20
> > Sure enough, bitmap fonts no longer load correctly in GNOME.  This seem=
s
> > to be directly related to xftfreetype.c rev 1.40.  This always fails fo=
r
> > the affected fonts:
> >=20
> >  if (FT_Set_Char_Size (face, face->available_sizes[best].x_ppem, =20
> > face->available_sizes[best].y_ppem, 0, 0) !=3D 0)
>=20
> Yes, there is a bug in the BDF and PCF loaders which continue to use the=20
> old 'width/height' elements of the bitmap size structure while the TTF=20
> loader now uses the new x_ppem/y_ppem elements which are documented as=20
> describing the nominal size of the strike.
>=20
> I've sent in a fix which is in FreeType CVS (I believe), so at least the=20
> problem will eventually go away.
>=20
> It's all a horrible mess; I'm not sure why FreeType added these new=20
> elements and changed the semantics of the existing elements.
>=20
> Clearly what we need to do is have both fontconfig and Xft check the=20
> FreeType version number and apply suitable kludges to work with known=20
> versions of the libraries.

Thanks for the reply.  I'll take a look at the freetype2 code.

Joe

>=20
> -keith
--=20
Joe Marcus Clarke
FreeBSD GNOME Team	::	[email protected]
[email protected]
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome


--=-qjoQfDntfUsUWwyPFQSV
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAWhdfb2iPiv4Uz4cRApBFAJ9Cd2lO73EM6VHM7+s7CN68WFSNjQCfeTO2
nNpjounlwKqBk1+G+UJka9M=
=7uEP
-----END PGP SIGNATURE-----

--=-qjoQfDntfUsUWwyPFQSV--



--===============1627743520==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
xlibs mailing list
[email protected]
http://freedesktop.org/mailman/listinfo/xlibs

--===============1627743520==--