[Libreoffice] LibreOffice default UI font need to be changed

Nguyen Vu Hung vuhung16plus at gmail.com
Sat Feb 5 02:26:24 PST 2011


On Fri, Feb 4, 2011 at 2:54 PM, Samphan Raruenrom <samphan at osdev.co.th> wrote:
> 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>

For LibO 3.3, under Windows and Mac OS X, the default font is Times New Roman,
which is good enough for Vietnamese.

Arial Unicode MS font is available iff MS Office XP+ is installed.

> 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"
>> ));
The hardcoding is not good.
I think you should fire a patch.

> 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.

Times New Roman is OK Vietnamese under Windows and Mac OS X.
Under Linux, we can alsoe we Times New Roman if mscorefonts is intalled.
# Well, there will be a debate on legal issue on mscorefonts.

The default font for Japanese should be MS Gothic under Windows and
will be different on Linux and it even varies for different Linux
distributions > Kohei-san.

> As a side-effect, this would help us fix a Thai locale-sensitive bug :
> https://bugs.freedesktop.org/show_bug.cgi?id=33090
FYI, probably Vietnamese has the same issue

Best Regards,
Nguyen Hung Vu [aka: NVH] ( in Vietnamese: Nguyễn Vũ Hưng )
vuhung16plus{remove}@gmail.dot.com , YIM: vuhung16 , Skype: vuhung16plus

More information about the LibreOffice mailing list