login
Header Space

 
 

Re: Trouble configuring FreeType BCI hinting

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mark Shroyer <mark@...>, <misc@...>
Date: Thursday, April 26, 2007 - 6:04 am

--- Mark Shroyer <mark@markshroyer.com> wrote:

I suppose you could use in fonts.conf something like this for Vera (adjust
the size under which you want hinting to be OFF, or you can remove the test
for pixelsize to always unhint the font), and you can add some other fonts
too:
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- 
	The Bitstream Vera fonts have GASP entries suggesting that hinting be
	disabled below 8 ppem, but FreeType ignores those, preferring to use
	the data found in the instructed hints.  The initial Vera release
	didn't include the right instructions in the 'prep' table. Fix this
	by disabling hinting manually at smaller sizes (< 8ppem)
 -->

	<match target="font">
		<test name="family">
			<string>Bitstream Vera Sans</string>
		</test>
		<test name="pixelsize" compare="less">
			<double>7.5</double>
		</test>
		<edit name="hinting">
			<bool>false</bool>
		</edit>
	</match>

	<match target="font">
		<test name="family">
			<string>Bitstream Vera Serif</string>
		</test>
		<test name="pixelsize" compare="less">
			<double>7.5</double>
		</test>
		<edit name="hinting">
			<bool>false</bool>
		</edit>
	</match>

	<match target="font">
		<test name="family">
			<string>Bitstream Vera Sans Mono</string>
		</test>
		<test name="pixelsize" compare="less">
			<double>7.5</double>
		</test>
		<edit name="hinting">
			<bool>false</bool>
		</edit>
	</match>

</fontconfig>

--- CUT ---

R-C



      Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Trouble configuring FreeType BCI hinting, Mark Shroyer, (Thu Apr 26, 5:45 am)
Re: Trouble configuring FreeType BCI hinting, J.C. Roberts, (Fri Apr 27, 6:28 am)
Re: Trouble configuring FreeType BCI hinting, Radu-Cristian FOTESCU, (Thu Apr 26, 6:04 am)
speck-geostationary