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


Hi,


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
FYI
http://wiki.services.openoffice.org/wiki/Font-FAQ#Font_Fallback


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

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
http://www.mail-archive.com/discuss@documentfoundation.org/msg04855.html

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

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.