yes, Iam sure, I don't know build a patch file, so I cut's some source and describe it.<div><br></div><div>1. in scp2\source\ooo\file_font_ooo.scp add this source.</div><div><div>//mongolian fonts</div><div>#ifndef WITHOUT_FONTS </div>
<div>STD_FONT_FILE( gid_File_Fnt_MenkQagan, MQG8F01.ttf, Menk Qagan Tig)</div><div>#endif </div><div>2. in scp2\source\ooo\module_hidden_ooo.scp </div><div>#ifndef WITHOUT_FONTS</div><div>Module gid_Module_Root_Fonts_OOo_Hidden</div>
<div> PackageInfo = "packinfo_office.txt";</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>ParentID = gid_Module_Root;</div><div> InstallOrder = "100";</div><div>.....</div>
<div>.....</div><div><div><span class="Apple-tab-span" style="white-space:pre"> </span>gid_File_Fnt_DejaVuSans,</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>gid_File_Fnt_MenkQagan,</div></div><div>
3. copy MQG8F01.ttf to solver\<a href="http://wntmsci12.pro">wntmsci12.pro</a>\bin and rebuild scp2 and instsetoo_native modules.</div><div><br></div><div>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!</div>
<div><br></div><div class="gmail_quote">2013/1/28 Michael Stahl <span dir="ltr"><<a href="mailto:mstahl@redhat.com" target="_blank">mstahl@redhat.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 28/01/13 10:23, huqitu du wrote:<br>
> yes, I did it , but dosnt work!<br>
<br>
</div>are you sure? there are 2 places in scp2 where a file has to be added,<br>
one is the line you quoted below, and the other is a reference from some<br>
other file that uses the gid_File_whatever.<br>
<br>
please post your complete patch so we can give you better advice what<br>
could be missing or wrong.<br>
<br>
> 2013/1/28 Andras Timar <<a href="mailto:timar74@gmail.com">timar74@gmail.com</a> <mailto:<a href="mailto:timar74@gmail.com">timar74@gmail.com</a>>><br>
<div class="im">><br>
> Hi,<br>
><br>
> On Mon, Jan 28, 2013 at 8:38 AM, huqitu du <<a href="mailto:huqitu@gmail.com">huqitu@gmail.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:huqitu@gmail.com">huqitu@gmail.com</a>>> wrote:<br>
> > I need to add a new font in installer In order to support traditional<br>
> > mongolia, and<br>
> > 1. I copy font file to solver\<a href="http://wntmsci12.pro" target="_blank">wntmsci12.pro</a><br>
</div>> <<a href="http://wntmsci12.pro" target="_blank">http://wntmsci12.pro</a>>\bin and then<br>
<div class="HOEnZb"><div class="h5">> > 2. modify the "scp2\source\ooo\file_font_ooo.scp" as DejaVuSans<br>
> font did,<br>
> ><br>
> > //mongolian fonts<br>
> > #ifndef WITHOUT_FONTS<br>
> > STD_FONT_FILE( gid_File_Fnt_MenkQagan, MQG8F01.ttf, Menk Qagan Tig)<br>
> > #endif<br>
> ><br>
> > but when rebuild the scp2 and instsetoo_native, reinstall the<br>
> libreoffice,<br>
> > but my font not copyed to windows\fonts dir, what I need to do another<br>
> > thing?<br>
> ><br>
><br>
> You need to add gid_File_Fnt_MenkQagan to<br>
> scp2/source/ooo/module_hidden_ooo.scp.<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>内蒙古蒙科立公司<br>胡其图<br><a href="mailto:email%3Ahuqitu@gmail.com">email:huqitu@gmail.com</a>
</div>