Hi,
Your comments help a lot.
Philipp Lohmann - Sun Germany wrote:
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.
You have a good point. Users might not want to change a font on gedit
which is just a simple text editor.
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.
It is OK.
There would be no problem as far as we could control paths.
However, the directory /usr/openwin/lib/X11/fonts/TrueType of Solaris
has many Western TTF font files as well as 4 Asian ones. Most of the
Western fonts are not needed for StarSuite Japanese users. The Asian
ones are not needed at all. But, I am not sure if the font files are
required for Sun Java Desktop System. So I hesitate to physically
remove the unnecessary font files from the system.
I am trying to reduce the number of entries in the list of StarSuite
as possible as I can. e.g.:
xset fp- /usr/X11/lib/X11/fonts/TrueType/
xset fp- /usr/openwin/lib/X11/fonts/TrueType/
perl -i.bak -pe
's{/usr/openwin/lib/X11/fonts/TrueType}{/_sr/openwin/lib/X11/fonts/TrueType}g'
libpsp680ss.so
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.
That sounds nice!
What I really want StarSuite to do are:
- StarSuite does not find font files by itself.
- A system integrator registers certain font files by using spadmin at
system installation.
- A system administrator and/or customer adds additional fonts and/or
removes unnecessary ones by themselves after integration is completed.
The instruction mentioned above is not intended for normal, casual use.
It is for enterprise use.
I think Philipp's idea will work well by simply assigning an empty list
to the new environment variable like:
SAL_FONTPATH=
export SAL_FONTPATH
Thanks,
Tora
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]