[stsf] STSF

mpsuzuki at hiroshima-u.ac.jp mpsuzuki at hiroshima-u.ac.jp
Wed Aug 2 01:08:30 PDT 2006


Hi,

On Tue, 01 Aug 2006 15:08:07 +1000
Russell Shaw <rjshaw at netspace.net.au> wrote:
>Hi M.P.Suzuki,
>Thanks very much:)
>I haven't been doing much stsf stuff for a while, because i've been
>rendering text into glyph bitmaps with freetype2, then storing and
>rendering them on the X server with the Xrender extension.

Yes, if the interest is anti-aliasing, translucent, using
FreeType2 and Xrender is easier solution in modern PC Unix,
I think. However, my interest is non-Pango Unicode text
rendering, so still I'm sticking to STSF :-)

Today I found that STSF-0.11.x available on freedesktop.org CVS has
been broken.

In the update from 0.8 to 0.11 (on 2004-07), FontServerNew() was
changed to receive a linked-list of fontpath (from a colon-separated
directory list in 0.8)

http://webcvs.freedesktop.org/stsf/stsf/STFontServer/src/fontserver.c?annotate=1.7#l432

But a caller of FontServerNew() in client libary is not updated

http://webcvs.freedesktop.org/stsf/stsf/STClientLibrary/src/connection.c?r1=1.3&r2=1.4

Therefore, when FSSessionOpen() is called which passes colon-separate
string to FontServerNew(), STSF is crashed by SEGV. stls dumps core.
At present, I don't have a patch to fix this issue.

Regards,
mpsuzuki


More information about the stsf mailing list