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">&lt;<a href="mailto:samphan@osdev.co.th">samphan@osdev.co.th</a>&gt;</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">
&lt;prop oor:name=&quot;UI_SANS&quot; oor:type=&quot;xs:string&quot; oor:op=&quot;replace&quot;&gt;<br>  &lt;value&gt;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&lt;/value&gt;<br>


&lt;/prop&gt;<br></blockquote><br clear="all">You can see that the first-priority default UI font of every LibreOffice applications are, &quot;Andale Sans UI&quot;. However, &quot;Andale Sans UI&quot; is not available on all system. I guess  &quot;Andale Sans UI&quot; will be installed with StarOffice. So it&#39;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( &quot;Andale Sans UI&quot; ));<br>    if ( mpWindowImpl-&gt;mpFrameData-&gt;mpFontList-&gt;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>