Anyone agree that we should change the LibreOffice default UI font list?<br><br><div class="gmail_quote">On Fri, Feb 4, 2011 at 2:54 PM, Samphan Raruenrom <span dir="ltr"><<a href="mailto:samphan@osdev.co.th">samphan@osdev.co.th</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Look at <a href="http://opengrok.go-oo.org./xref/libs-core/officecfg/registry/data/org/openoffice/VCL.xcu#129" target="_blank">http://opengrok.go-oo.org./xref/libs-core/officecfg/registry/data/org/openoffice/VCL.xcu#129</a><br>
<blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
<prop oor:name="UI_SANS" oor:type="xs:string" oor:op="replace"><br> <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><br>
</prop><br></blockquote><br clear="all">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.<br>
<br>Look at <a href="http://opengrok.go-oo.org./xref/libs-gui/vcl/source/window/window.cxx#287" target="_blank">http://opengrok.go-oo.org./xref/libs-gui/vcl/source/window/window.cxx#287</a><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
if ( ! aUserInterfaceFont.Len() )<br>{<br> String aFallbackFont (RTL_CONSTASCII_USTRINGPARAM( "Andale Sans UI" ));<br> if ( mpWindowImpl->mpFrameData->mpFontList->FindFontFamily( aFallbackFont ) )<br>
aUserInterfaceFont = aFallbackFont; <br>}<br></blockquote><br>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. <br>
<br>As a side-effect, this would help us fix a Thai locale-sensitive bug : <a href="https://bugs.freedesktop.org/show_bug.cgi?id=33090" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=33090</a><br><font color="#888888"><br>
-- <br>_/|\_ Samphan Raruenrom. Open Source Development Co., Ltd.<br>
Tel: +66 38 311816, Fax: +66 38 773128, <a href="http://www.osdev.co.th/" target="_blank">http://www.osdev.co.th/</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>_/|\_ Samphan Raruenrom. Open Source Development Co., Ltd.<br>Tel: +66 38 311816, Fax: +66 38 773128, <a href="http://www.osdev.co.th/">http://www.osdev.co.th/</a><br>