Note that there are some explanatory texts on larger screens.

plurals
  1. POMultiple font Not working at time in application
    primarykey
    data
    text
    <p>Friends, Running out in a strange issue. I want to use two font (<a href="http://en.wikipedia.org/wiki/Gujarati_language" rel="nofollow">Gujarat</a> &amp; <a href="http://en.wikipedia.org/wiki/Hindi" rel="nofollow">Hindi</a>) in same applicaion. Here is process of install fonts in device</p> <ul> <li>Needed root device. </li> <li>Install <a href="https://play.google.com/store/apps/details?id=com.jrummy.font.installer&amp;feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5qcnVtbXkuZm9udC5pbnN0YWxsZXIiXQ.." rel="nofollow">Font Installer</a> App</li> <li>Download <code>Lohit-Devanagari.ttf</code> &amp; <code>Lohit-Gujarati.ttf</code> from <a href="https://fedorahosted.org/lohit/" rel="nofollow">this site</a></li> <li>Copy ttf files file at <code>/system/fonts</code></li> <li>Given Read/Write Permission &amp; installed both fonts</li> <li>Reboot device</li> </ul> <p><strong>Issue</strong></p> <p>After reboot device I can read only that font which I installed last. Either <code>Gujarati</code> or <code>Devangari</code> </p> <p><strong>Note:- I am creating Only SoftKeyboard Apps which will work in all app, so I can't use Typeface class</strong></p> <p>I am just doing setText for read fonts..</p> <pre><code>textView1.setText("TextView1 ગુજરાતી"); textView2.setText("TextView2 हिन्दी "); </code></pre> <p><strong>I want like this</strong>.</p> <pre><code>TextView1 ગુજરાતી TextView2 हिन्दी </code></pre> <p><strong>But I getting output like this</strong></p> <pre><code>TextView1 ગુજરાતી TextView2 ☐☐☐☐☐☐ </code></pre> <p><strong>or</strong></p> <pre><code>TextView1 ☐☐☐☐☐☐☐ TextView2 हिन्दी </code></pre> <p><strong>Note:- I am creating Only SoftKeyboard Apps which will work in all app, so I can't use Typeface class</strong></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload