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 <mst...@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 <tima...@gmail.com <mailto:tima...@gmail.com>> > > > > Hi, > > > > On Mon, Jan 28, 2013 at 8:38 AM, huqitu du <huq...@gmail.com > > <mailto:huq...@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:huq...@gmail.com
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice