tora - Takamichi Akiyama wrote:
Hi,

Situation:
 A municipal office in a small town of Japan is now introducing StarSuite 8
 PU5 on a newly purchased server system with 170 SunRay terminals.

Current problem:
StarSuite 8 running on Solaris 10 SPARC lists Korean, Chinese, Russian, ... fonts on the font list. They will never be used by the users of the system.

Yes. Until the first user wants to use them and comes complaining, I know ;-)

The following attempts seem to work, but not to work perfectly.

 To disable libfontconfig,
  perl -i.bak -pe 's/libfontconfig/_ibfontconfig/g' libpsp680ss.so

That will disable fontconfig support the hard way. There is currently no "official" way to do that, sorry. Besides you'll have to explain to the user why he can select a font in gedit but not in OOo.

 To disable XGetFontPath(),
  xset fp- unnecessary_fontpath

On solaris the following directories will be searched for fonts if fontconfig failed:

- directories in the X fontpath
- /usr/openwin/lib/X11/fonts/TrueType
- /usr/openwin/lib/X11/fonts/Type1
- usr/openwin/lib/X11/fonts/Type1/sun
- /usr/X11R6/lib/X11/fonts/truetype
- /usr/X11R6/lib/X11/fonts/Type1
- the directories listed in /usr/openwin/lib/locale/${LANG}/OWfontpath

There is currently no way to disable this search path, sorry.

I could imagine this could be solved with a new environment variable that explicitly sets the list of directories to be searched for fonts. If you sent me a corresponding issue, I'd build that in as an enhancement.

Kind regards, pl

--
If you give someone a program, you will frustrate them for a day;
if you teach them how to program, you will frustrate them for a lifetime.
     -- Author unknown

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to