[Libreoffice] LibreOffice default UI font need to be changed
Samphan Raruenrom
samphan at osdev.co.th
Thu Feb 3 23:54:11 PST 2011
Look at
http://opengrok.go-oo.org./xref/libs-core/officecfg/registry/data/org/openoffice/VCL.xcu#129
> <prop oor:name="UI_SANS" oor:type="xs:string" oor:op="replace">
> <value>Andale Sans UI;Arial Unicode MS;Lucida Sans Unicode;Tahoma;DejaVu
> Sans;Albany AMT;Albany;Arial;Nimbus Sans L;Interface
> User;WarpSans;Geneva;Tahoma;MS Sans
> Serif;Helv;Dialog;Lucida;Helvetica;Charcoal;Chicago;Helmet;Interface
> System;Sans Serif</value>
> </prop>
>
You can see that the first-priority default UI font of every LibreOffice
applications are, "Andale Sans UI". However, "Andale Sans UI" is not
available on all system. I guess "Andale Sans UI" will be installed with
StarOffice. So it's not logical to be used as the first-priority default UI
font.
Look at
http://opengrok.go-oo.org./xref/libs-gui/vcl/source/window/window.cxx#287
> if ( ! aUserInterfaceFont.Len() )
> {
> String aFallbackFont (RTL_CONSTASCII_USTRINGPARAM( "Andale Sans UI" ));
> if ( mpWindowImpl->mpFrameData->mpFontList->FindFontFamily(
> aFallbackFont ) )
> aUserInterfaceFont = aFallbackFont;
> }
>
The font also is used as the last-resort fallback font. I suggest we
reconsider the use of this font and create a better font list that works
more cross-platform and cross-locale.
As a side-effect, this would help us fix a Thai locale-sensitive bug :
https://bugs.freedesktop.org/show_bug.cgi?id=33090
--
_/|\_ Samphan Raruenrom. Open Source Development Co., Ltd.
Tel: +66 38 311816, Fax: +66 38 773128, http://www.osdev.co.th/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110204/238ac2a0/attachment-0001.htm>
More information about the LibreOffice
mailing list