how to add a new font in installer package

Michael Stahl mstahl at redhat.com
Mon Jan 28 05:35:36 PST 2013


On 28/01/13 10:23, huqitu du wrote:
> yes, I did it , but dosnt work!

are you sure? there are 2 places in scp2 where a file has to be added,
one is the line you quoted below, and the other is a reference from some
other file that uses the gid_File_whatever.

please post your complete patch so we can give you better advice what
could be missing or wrong.

> 2013/1/28 Andras Timar <timar74 at gmail.com <mailto:timar74 at gmail.com>>
> 
>     Hi,
> 
>     On Mon, Jan 28, 2013 at 8:38 AM, huqitu du <huqitu at gmail.com
>     <mailto:huqitu at gmail.com>> wrote:
>     > I need to add a new font in installer In order to support traditional
>     > mongolia, and
>     > 1.  I copy font file to solver\wntmsci12.pro
>     <http://wntmsci12.pro>\bin and then
>     > 2.  modify the "scp2\source\ooo\file_font_ooo.scp" as DejaVuSans
>     font did,
>     >
>     > //mongolian fonts
>     > #ifndef WITHOUT_FONTS
>     > STD_FONT_FILE( gid_File_Fnt_MenkQagan, MQG8F01.ttf, Menk Qagan Tig)
>     > #endif
>     >
>     > but when rebuild the scp2 and instsetoo_native, reinstall the
>     libreoffice,
>     > but my font not copyed to windows\fonts dir, what I need to do another
>     > thing?
>     >
> 
>     You need to add gid_File_Fnt_MenkQagan to
>     scp2/source/ooo/module_hidden_ooo.scp.



More information about the LibreOffice mailing list