[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The WHY of Xft
From: |
James Cloos |
Subject: |
Re: The WHY of Xft |
Date: |
Sun, 20 Mar 2005 11:49:50 -0500 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
>>>>> “Miles” == Miles Bader <address@hidden> writes:
>> The other benefits are just as important. Control and installation
>> of fonts are easier for most users
Miles> Can you explain in more detail? I use debian, and Emacs
Miles> already seems able to use the same fonts as xft-using programs,
Miles> albeit not in anti-aliased form.
That is becasue debian did the hard work for those fonts that it
includes as part of the distribution. The hard part for users
comes when they want to install a font not part of the dist,
whether one they've purchased or otherwise acquired.
It is much easier to just drop a font into ~/.fonts than to mess
with fonts.dir and fonts.scale files, etc. At least for those
who've not been doing so for a couple of decades.... ☺
fc-cache should be run when the contents of the searched directories
change, but cli-averse users will probably use a gui not unlike that
on doze or macs which can do that for them. mkfontscale has helped
ease installation of server-side fonts, but it is still not as easy.
Obviously for emacs it is less of an issue than for something like
gimp, but I’m sure it will come up for some. Especially if packages
like preview-latex can use the client-side fonts to preview the entire
document as it is being edited rather than just selected portions.
>> fonts with large encodings -- such as CJKV fonts or any
>> iso10646-encoded font -- use *much* less vm and data transfer
>> between client and server is reduced for most workloads.
Miles> Doesn’t the X server already support partial loading of large
Miles> fonts? [I mean the “-deferglyphs 16” in the X startup
Miles> options.]
I’m not familiar with deferglyphs; I don't remember it from any of
the discussions I read or participated in on the fontconfig, xfree
or freedesktop lists. And I cannot find it in X(7x) or Xorg(1x).
My understanding is that when a (server-side) font is opened by the
X server it must determine all of the glyphs’ metrics, which requires
rendering all of them.
There are also still at least a couple of things I forgot to mention.
Server-side unicode fonts are limited to the bmp, so one cannot edit
scripts that use non-bmp characters w/o switching to client-side
fonts. Client-side fonts are also necessary to take full advantage
of opentype features.
-JimC
--
James H. Cloos, Jr. <address@hidden>
- Antialiased text on X11, James Cloos, 2005/03/10
- Re: Antialiased text on X11, Stefan Monnier, 2005/03/10
- Re: Antialiased text on X11, Han Boetes, 2005/03/10
- Re: Antialiased text on X11, Jan D., 2005/03/11
- Re: Antialiased text on X11, Ali Ijaz Sheikh, 2005/03/18
- RE: Antialiased text on X11, Drew Adams, 2005/03/18
- The WHY of Xft [was: Re: Antialiased text on X11], James Cloos, 2005/03/19
- Re: The WHY of Xft [was: Re: Antialiased text on X11], Miles Bader, 2005/03/19
- Re: The WHY of Xft,
James Cloos <=
- Re: The WHY of Xft, Miles Bader, 2005/03/20
- Re: The WHY of Xft, David Hansen, 2005/03/21
- Re: The WHY of Xft, James Cloos, 2005/03/21
- Re: The WHY of Xft, Kenichi Handa, 2005/03/20
- Re: Antialiased text on X11, Miles Bader, 2005/03/18
- Re: Antialiased text on X11, Jan D., 2005/03/19
- Re: Antialiased text on X11, Miles Bader, 2005/03/19
- Re: Antialiased text on X11, Stefan Monnier, 2005/03/19
- Re: Antialiased text on X11, Han Boetes, 2005/03/19
- Re: Antialiased text on X11, Jan D., 2005/03/20