Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Anyone agree that we should change the LibreOffice default UI font list?

On Fri, Feb 4, 2011 at 2:54 PM, Samphan Raruenrom <samphan@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>


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/




-- 
_/|\_ Samphan Raruenrom. Open Source Development Co., Ltd.
Tel: +66 38 311816, Fax: +66 38 773128, http://www.osdev.co.th/

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.