[Pkg-fonts-devel] Re: Install fonts.conf as per locale?

Theppitak Karoonboonyanan thep at linux.thai.net
Sat Dec 23 15:38:26 CET 2006


Hi,

I'm urged to get back to this issue by some users.

I find that fontconfig-config package already tries to cover font
preferences for some languages, such as Persian. For the case
of Thai, it's sufficient to add a config file under /etc/fonts/conf.{avail,d}.
(The per-locale configuration is just needed for CJK, but not for Thai.)

So, should I simply add it by the font package or should I request
to add it to fontconfig-config? The content will be just registration of
fonts to serif/sans-serif/monospace generic families, something like:

<fontconfig>
  <alias>
    <family>serif</family>
    <accept>
      <family>Norasi</family>
    </accept>
  </alias>
  ... and so on for sans-serif, monospace ...
</fontconfig>

Regards,
-- 
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/

On 7/23/06, Konstantinos Margaritis <markos at debian.gr> wrote:
> At one point exactly this feature was supported in localization-configw but i deactivated it as i saw no need eventually :-/ perhaps it should be activated again/moved into fontconfig itself?
> i'll be back from my military service in about a month (writing this on my phone) so i'll take a look then, unless you're in a hurry ;-)
> _____________________________
> I sent this message from my cell phone using flurry.
> Click here to get your email and news on your cell phone for free:
> http://www.flurry.com
>
> --- Original Message ---
> Date: Sun Jul 23 09:24:18 PDT 2006
> From: Theppitak Karoonboonyanan <thep at linux.thai.net>
> To: pkg-fonts-devel at lists.alioth.debian.org, debian-i18n at lists.debian.org
> Subject: Install fonts.conf as per locale?
> ---
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> I wonder if fonts.conf should be installed as per
> locale by, say, language-env or alike.
>
> The idea is from CJK different preferences on fonts,
> as described here:
>   https://wiki.ubuntu.com/BetterCJKSupportSpecification/FontConfig
>
> Combined with attempts of users of some languages to
> get their favourite fonts over those in ttf-freefont, and
> to explicitly classify local fonts as "sans-serif", "serif",
> "monospace", rather than relying on fontconfig calculation
> which is wrong in many cases, I think the requirements of
> locale-based fonts.conf is somehow valid.
>
> It may not be per font package, as in the case of CJK.
> Moreover, fontconfig preference list does not require
> the fonts to exist.
>
> What do you think?
>
> - --
> Theppitak Karoonboonyanan
> http://linux.thai.net/~thep/
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
>
> iD8DBQFEw6E4qgzR7tCLR/4RAsGkAJwLq3S41bezHeLonec+lsONjbv8OwCglNf9
> 5f2Vay0+WnwvgcCEw6Svh+8=
> =JzYL
> -----END PGP SIGNATURE-----
>
>
> --
> To UNSUBSCRIBE, email to debian-i18n-REQUEST at lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster at lists.debian.org
>
>
>



More information about the Pkg-fonts-devel mailing list