<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - Anyone using custom fonts? - Comments</title>
 <link>http://www.newlc.com/topic-3981</link>
 <description>Comments for &quot;Anyone using custom fonts?&quot;</description>
 <language>en</language>
<item>
 <title>Re: Anyone using custom fonts?</title>
 <link>http://www.newlc.com/topic-3981#comment-11804</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;br /&gt;Plz send me the code too&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;mailto:Lilesh.patel@gmail.com&quot;&gt;Lilesh.patel@gmail.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thanks ,&lt;br /&gt;Lilesh.&lt;/div&gt;</description>
 <pubDate>Mon, 25 Jul 2005 13:13:36 +0200</pubDate>
 <dc:creator>lilesh-forum</dc:creator>
 <guid isPermaLink="false">comment 11804 at http://www.newlc.com</guid>
</item>
<item>
 <title>Anyone using custom fonts?</title>
 <link>http://www.newlc.com/topic-3981#comment-11803</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;here is my email &lt;br /&gt;&lt;a href=&quot;mailto:companymen@163.com&quot;&gt;companymen@163.com&lt;/a&gt; &lt;br /&gt;if u have sample code plz send it to me, i shall be verythankful to u&lt;/div&gt;</description>
 <pubDate>Tue, 15 Mar 2005 04:06:11 +0100</pubDate>
 <dc:creator>companymen</dc:creator>
 <guid isPermaLink="false">comment 11803 at http://www.newlc.com</guid>
</item>
<item>
 <title>Anyone using custom fonts?</title>
 <link>http://www.newlc.com/topic-3981#comment-11802</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;here is my email&lt;br /&gt;&lt;a href=&quot;mailto:kmsoomro@yahoo.com&quot;&gt;kmsoomro@yahoo.com&lt;/a&gt;&lt;br /&gt;if u have sample code plz send it to me, i shall be verythankful to u&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;with best regards&lt;br /&gt;khair m soomro&lt;/div&gt;</description>
 <pubDate>Mon, 21 Feb 2005 06:21:53 +0100</pubDate>
 <dc:creator>kmsoomro</dc:creator>
 <guid isPermaLink="false">comment 11802 at http://www.newlc.com</guid>
</item>
<item>
 <title>It need not any configuration at all</title>
 <link>http://www.newlc.com/topic-3981#comment-11801</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi.&lt;br /&gt;&lt;br /&gt;It need not any configuration at all. &lt;img src=&quot;/sites/all/modules/smf_filter/smf_smileys/cheesy.gif&quot; alt=&quot;Cheezy&quot; border=&quot;0&quot; /&gt; .&lt;br /&gt;You don&#039;t have to set language in mmp file or anything.&lt;br /&gt;&lt;br /&gt;Just copy your font into system directory ( for example system\apps\font\ ) then load it from your program using my code.&lt;br /&gt;&lt;br /&gt;To display it on the screen you need an unicode edwin ( in my case i used &lt;br /&gt;richtext editor ). Then all you have to do is for example&lt;br /&gt;&lt;br /&gt;aRichtex-&amp;gt;InsertL(Unicodechar,position);&lt;br /&gt;&lt;br /&gt;If you do not have a rich text control, give me your email. &lt;img src=&quot;/sites/all/modules/smf_filter/smf_smileys/cheesy.gif&quot; alt=&quot;Cheezy&quot; border=&quot;0&quot; /&gt;&lt;/div&gt;</description>
 <pubDate>Sat, 19 Feb 2005 04:06:17 +0100</pubDate>
 <dc:creator>neobk</dc:creator>
 <guid isPermaLink="false">comment 11801 at http://www.newlc.com</guid>
</item>
<item>
 <title>Anyone using custom fonts?</title>
 <link>http://www.newlc.com/topic-3981#comment-11800</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Thankx,&lt;br /&gt;&lt;br /&gt;Including the &amp;nbsp;TTF font, am i need any other setting to display arabic characters in UIQ emulator.&lt;br /&gt;like LAngauge tag in mmp file. or any other unicode setings.&lt;br /&gt;&lt;br /&gt;i have stored my arabic unicode values in database, i am able to load it in to variable but not able to display it on the screen.&lt;br /&gt;&lt;br /&gt;if u have any code plz send it to me, otherwise give me ur email i will send u the ttf file&lt;br /&gt;&lt;br /&gt;with best regards&lt;br /&gt;khair m soomro&lt;/div&gt;</description>
 <pubDate>Fri, 18 Feb 2005 12:22:50 +0100</pubDate>
 <dc:creator>kmsoomro</dc:creator>
 <guid isPermaLink="false">comment 11800 at http://www.newlc.com</guid>
</item>
<item>
 <title>It&#039;s fine</title>
 <link>http://www.newlc.com/topic-3981#comment-11799</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;img src=&quot;/sites/all/modules/smf_filter/smf_smileys/cheesy.gif&quot; alt=&quot;Cheezy&quot; border=&quot;0&quot; /&gt; It&#039;s work very well&lt;/div&gt;</description>
 <pubDate>Wed, 16 Feb 2005 03:56:01 +0100</pubDate>
 <dc:creator>neobk</dc:creator>
 <guid isPermaLink="false">comment 11799 at http://www.newlc.com</guid>
</item>
<item>
 <title>Anyone using custom fonts?</title>
 <link>http://www.newlc.com/topic-3981#comment-11798</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Does your code work with .TTf font file, or GDR font file.&lt;br /&gt;i have arabic font file in ttf format, my application needs to display arabic characters.&lt;br /&gt;&lt;br /&gt;with best regards&lt;br /&gt;khair m soomro&lt;/div&gt;</description>
 <pubDate>Tue, 15 Feb 2005 11:13:51 +0100</pubDate>
 <dc:creator>Anonymous</dc:creator>
 <guid isPermaLink="false">comment 11798 at http://www.newlc.com</guid>
</item>
<item>
 <title>Load Custom Font In Symbian</title>
 <link>http://www.newlc.com/topic-3981#comment-11797</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;I also had trouble with using custom font and my program only work well with Open Type font.&lt;br /&gt;&lt;br /&gt;But you can try this way:&lt;br /&gt;&lt;br /&gt;1- Copy custom font to system folder( for example : arial.ttf)&lt;br /&gt;&lt;br /&gt;2-Using this function :&lt;br /&gt;&lt;br /&gt;void &amp;nbsp;CRTxContainer::SetFontL(TInt aResourceID)&lt;br /&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;// Create font&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TInt FontSize=150;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;_LIT(FontName,&amp;quot;arial&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;TFontSpec* fontSpec=new TFontSpec(FontName,FontSize);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt; &amp;nbsp; &amp;nbsp;CleanupStack::PushL(fontSpec);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;TCharFormat &amp;nbsp; &amp;nbsp; charFormat;&lt;br /&gt; &amp;nbsp; &amp;nbsp;TCharFormatMask charFormatMask;&lt;br /&gt; &amp;nbsp; &amp;nbsp;CFont* &amp;nbsp;editorFont = iCoeEnv-&amp;gt;CreateScreenFontL(*fontSpec);&lt;br /&gt; &amp;nbsp; &amp;nbsp;CleanupStack::PushL(editorFont);&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;charFormat.iFontSpec = editorFont-&amp;gt;FontSpecInTwips();&lt;br /&gt; &amp;nbsp; &amp;nbsp;charFormatMask.SetAttrib(EAttFontTypeface);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;charFormatMask.SetAttrib(EAttFontHeight);&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;// Set font to GlobalTextEditor&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;iRtEd-&amp;gt;SelectAllL();&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt; &amp;nbsp; &amp;nbsp;iRtEd-&amp;gt;ApplyCharFormatL(charFormat,charFormatMask);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;iRtEd-&amp;gt;SetCursorPosL(0,0);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;iRtEd-&amp;gt;SetBackgroundColorL(KRgbSymbianOrange);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;iCoeEnv-&amp;gt;ReleaseScreenFont(editorFont);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CleanupStack::Pop(); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// editorFont&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;// Change label text.&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp;CleanupStack::Pop(); &amp;nbsp;// fontSpec&lt;br /&gt; &amp;nbsp; &amp;nbsp;delete fontSpec; &amp;nbsp; &amp;nbsp;// Delete Font&lt;br /&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt; &amp;nbsp; - In the function above i set font for a richtext control and it work well.&lt;/div&gt;</description>
 <pubDate>Fri, 07 Jan 2005 04:00:52 +0100</pubDate>
 <dc:creator>neobk</dc:creator>
 <guid isPermaLink="false">comment 11797 at http://www.newlc.com</guid>
</item>
<item>
 <title>Anyone using custom fonts?</title>
 <link>http://www.newlc.com/topic-3981#comment-11796</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;I&amp;#039;ve never tried it myself, but at &amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http&amp;#58;//www.mypsion.ru/library.php?aid=253&quot; target=&quot;_blank&quot;&gt;http://www.mypsion.ru/library.php?aid=253&lt;/a&gt;&lt;br /&gt;(in russian)&lt;br /&gt;&lt;br /&gt;written that fonts should be copied to C:\System\Fonts\&lt;br /&gt;for emulator it should be &amp;nbsp;epoc32\wins\c\system\Fonts\&lt;/div&gt;</description>
 <pubDate>Fri, 03 Dec 2004 22:16:19 +0100</pubDate>
 <dc:creator>serg3d</dc:creator>
 <guid isPermaLink="false">comment 11796 at http://www.newlc.com</guid>
</item>
<item>
 <title>Anyone using custom fonts?</title>
 <link>http://www.newlc.com/topic-3981#comment-11795</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;div class=&quot;quoteheader&quot;&gt;Quote from: serg3d&lt;/div&gt;&lt;div class=&quot;quote&quot;&gt;If you want a new bitmap font, there is a font design utility, for example here&lt;br /&gt;&lt;a href=&quot;http&amp;#58;//www.geocities.com/zavorine/epoc/fontutils.htm&quot; target=&quot;_blank&quot;&gt;http://www.geocities.com/zavorine/epoc/fontutils.htm&lt;/a&gt;&lt;br /&gt;(or google for &amp;quot;Symbian font utility bdf&amp;quot;)&lt;/div&gt;&lt;br /&gt;ok. i got that tool. it works after switching back to an older version of ftntrans.&lt;br /&gt;but now the question is how to use the resulting gdr file. I copied it to&lt;br /&gt;epoc32\release\winsb\urel\z}system\fonts but my app does not&lt;br /&gt;get the font.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;quoteheader&quot;&gt;Quote&lt;/div&gt;&lt;div class=&quot;quote&quot;&gt;This is a complex process, and require UID from symbian to register font in theOS. However then I asked Symbian for UID for font they havn&amp;#039;t answered my mail. &amp;nbsp;So I&amp;#039;ve just loaded &amp;nbsp;bitmaps for my font &amp;nbsp;and blit them into screen from TLex&lt;/div&gt;&lt;br /&gt;the next question would be, what folder to use on the real device.&lt;br /&gt;using bitmap fonts is no real choice for. should be international ...&lt;br /&gt;&lt;br /&gt;any hint?&lt;/div&gt;</description>
 <pubDate>Fri, 03 Dec 2004 15:46:25 +0100</pubDate>
 <dc:creator>Anonymous</dc:creator>
 <guid isPermaLink="false">comment 11795 at http://www.newlc.com</guid>
</item>
<item>
 <title>Anyone using custom fonts?</title>
 <link>http://www.newlc.com/topic-3981#comment-11794</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;If you want a new bitmap font, there is a font design utility, for example here&lt;br /&gt;&lt;a href=&quot;http&amp;#58;//www.geocities.com/zavorine/epoc/fontutils.htm&quot; target=&quot;_blank&quot;&gt;http://www.geocities.com/zavorine/epoc/fontutils.htm&lt;/a&gt;&lt;br /&gt;(or google for &amp;quot;Symbian font utility bdf&amp;quot;)&lt;br /&gt;&lt;br /&gt;This is a complex process, and require UID from symbian to register font in theOS. However then I asked Symbian for UID for font they havn&amp;#039;t answered my mail. &amp;nbsp;So I&amp;#039;ve just loaded &amp;nbsp;bitmaps for my font &amp;nbsp;and blit them into screen from TLex&lt;/div&gt;</description>
 <pubDate>Fri, 03 Dec 2004 10:18:20 +0100</pubDate>
 <dc:creator>serg3d</dc:creator>
 <guid isPermaLink="false">comment 11794 at http://www.newlc.com</guid>
</item>
<item>
 <title>Anyone using custom fonts?</title>
 <link>http://www.newlc.com/topic-3981</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/topic-3981&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/topic-3981#comments</comments>
 <category domain="http://www.newlc.com/forums/2d-3d-graphics">Bitmaps and Graphics</category>
 <pubDate>Thu, 02 Dec 2004 19:42:31 +0100</pubDate>
 <dc:creator>tarantel</dc:creator>
 <guid isPermaLink="false">4859 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
