yes, Iam sure, I don't know build a patch file, so I cut's some source
and describe it.
1. in scp2\source\ooo\file_font_ooo.scp add this source.
//mongolian fonts
#ifndef WITHOUT_FONTS
STD_FONT_FILE( gid_File_Fnt_MenkQagan, MQG8F01.ttf, Menk Qagan Tig)
#endif
2. in scp2\source\ooo\module_hidden_ooo.scp
#ifndef WITHOUT_FONTS
Module gid_Module_Root_Fonts_OOo_Hidden
PackageInfo = "packinfo_office.txt";
ParentID = gid_Module_Root;
InstallOrder = "100";
.....
.....
gid_File_Fnt_DejaVuSans,
gid_File_Fnt_MenkQagan,
3. copy MQG8F01.ttf to solver\wntmsci12.pro\bin and rebuild scp2 and
instsetoo_native modules.
except this, I add some another file(not fonts file) and it's works, but
font file is not working, I don't know why! please help!
2013/1/28 Michael Stahl <mstahl@redhat.com>
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@gmail.com <mailto:timar74@gmail.com>>
Hi,
On Mon, Jan 28, 2013 at 8:38 AM, huqitu du <huqitu@gmail.com
<mailto:huqitu@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.
--
内蒙古蒙科立公司
胡其图
email:huqitu@gmail.com
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.