Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] CJK Printing from Web Browsers in Debian 3.3.2



stephen@example.com wrote:
Bart Mathias writes:

 > bart@example.com:~$  NO FONT WAS FOUND Name["Sans"]

Something's misconfigured.  In standard fontconfig, that should be
spelled "sans-serif", but it should nonetheless work:

------------------------------------------------------------------------
<!--
  Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
-->
	<match target="pattern">
		<test qual="any" name="family">
			<string>sans serif</string>
		</test>
		<edit name="family" mode="assign">
			<string>sans-serif</string>
		</edit>
	</match>

<!--
  Accept deprecated 'sans' alias, replacing it with 'sans-serif'
-->
	<match target="pattern">
		<test qual="any" name="family">
			<string>sans</string>
		</test>
		<edit name="family" mode="assign">
			<string>sans-serif</string>
		</edit>
	</match>
------------------------------------------------------------------------

from /etc/fonts/fonts.conf in Debian.  See what your fonts.conf says
(it's probably in the same place, but if not, try "find etc -name
fonts.conf").

Two sections of that file are identical to your listing above.

I'm guessing you mean local.conf. (My "find" doesn't recognize "etc" by the way). /etc/fonts/local.conf says this:

<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <dir>/usr/local/share/fonts</dir>
 <dir>/usr/share/fonts</dir>
 <dir>/usr/X11R6/lib/X11/fonts</dir>
 <dir>/usr/lib/X11/fonts/misc</dir>
 <dir>/usr/lib/X11/fonts/100dpi</dir>
 <dir>/usr/lib/X11/fonts/75dpi</dir>
 <dir>/usr/lib/X11/fonts/Type1</dir>
 <dir>/usr/lib/X11/fonts/Speedo</dir>
</fontconfig>

Also try "fc-list sans" from the command line.

Tried:

bart@example.com:~$ fc-list sans
bart@example.com:~$

bart@example.com:~$ fc-list serif
bart@example.com:~$ fc-list sans-serif
bart@example.com:~$

Something wrong with my fc-list (-rwxr-xr-x 1 root root 10428 Mar 24 2005 /usr/bin/fc-list) or what?

Bart Mathias


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links