Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166673 - net-misc/tightvnc rejects font paths with .ttf fonts
Summary: net-misc/tightvnc rejects font paths with .ttf fonts
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Raúl Porcel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-13 15:06 UTC by Preston Crow
Modified: 2009-02-19 19:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Preston Crow 2007-02-13 15:06:07 UTC
There have been a lot of problems with the fontpath specified in the /usr/bin/vncserver script that is installed with net-misc/tightvnc.  In most cases, the font path should be a comma-separated list of all the directories in /usr/share/fonts.  The tricky part is that if any directory in the font path includes .ttf fonts, it rejects the font path and tries the hard-coded default font path (which is for the old non-modular X font locations).

In theory, it should accept a font path with fonts that it can't handle, and just ignore those fonts.  (So if this gets closed as "upstream," that's reasonable.)

What we may need is a script, either as part of the ebuild or as a stand-alone script that patches /usr/bin/vncserver with a font path that includes all /usr/share/fonts/ directories, except those with .ttf fonts in them.

At the very least, there should be a comment added to /usr/bin/vncserver just before the font path is set:
# This should be a comma-separated list of font directories, often in
# /usr/share/fonts/*, but it must not contain any directory that includes
# TrueType (.ttf) fonts.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-13 15:11:13 UTC
Indeed, how about that you go complain upstream?