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

Bug#478704: texlive-xetex: 478704: fontconfig instead



Hi Paul,

long time has passed, but slowly we are reaching TL2009 for Debian
status.

On Mo, 23 Feb 2009, Paul Wise wrote:
> It would be much better to export them to fontconfig instead, I plan to
> remove defoma from Debian for squeeze.

That sounds a good idea. So I have some questions (since I want to
do that for TL2009, but also for lmodern)

> Install the fonts in /usr/share/fonts/opentype/something instead.

links would do it?

> Add a config file /etc/fonts/conf.avail/90-something.conf and a symlink
> to it in /etc/fonts/conf.d/. The config file should contain this:

Sounds easier.

Some questions:

> <?xml version="1.0"?>
> <!DOCTYPE fontconfig SYSTEM "/etc/fonts/fonts.dtd">
> <fontconfig>
>    <dir>/usr/share/texmf-texlive/fonts/opentype/public</dir>
> </fontconfig>

Does that mean that all fonts in *all* directories *below*
	/usr/share/texmf-texlive/fonts/opentype/public
are added?

That way we simply can add that config file in texlive-common and have
all the fonts, whenever they are installed, automatically included?

Probably some fc-cache call are necessary?

Is there a debhelper dh_* for that?

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan            TU Wien, Austria           Debian TeX Task Force
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
SCOPWICK (n.)
The flap of skin which is torn off you lip when trying to smoke an
untipped cigarette.
			--- Douglas Adams, The Meaning of Liff



Reply to: