# Applying custom fonts to a survey

**URL:** <https://forum.getodk.org/t/applying-custom-fonts-to-a-survey/47197>\
**Category:** Support\
**Tags:** form-design, odk-collect, odk-xlsform\
**Created:** [May 31, 2024, 10:13am UTC](https://forum.getodk.org/t/applying-custom-fonts-to-a-survey/47197 "2024-05-31T10:13:02Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![noman.s2325](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/noman.s2325/32/8842_2.png) [@noman.s2325](https://forum.getodk.org/u/noman.s2325)\
**Post date:** [May 31, 2024, 10:13am UTC](https://forum.getodk.org/t/applying-custom-fonts-to-a-survey/47197/1 "2024-05-31T10:13:02Z")

</div>

Hi i want to apply custom font to my survey, can anybody help me to achieve this.it is very important for one of my project.

---

<div class="post-metadata">

**Author:** ![yanokwa](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/yanokwa/32/1695_2.png) [@yanokwa](https://forum.getodk.org/u/yanokwa)\
**Post date:** [May 31, 2024, 5:38pm UTC](https://forum.getodk.org/t/applying-custom-fonts-to-a-survey/47197/2 "2024-05-31T17:38:35Z")

</div>

What custom font is it? Are you using mobile forms (Collect) or web forms (Enketo)?

---

<div class="post-metadata">

**Author:** ![noman.s2325](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/noman.s2325/32/8842_2.png) [@noman.s2325](https://forum.getodk.org/u/noman.s2325)\
**Post date:** [June 28, 2024, 10:05am UTC](https://forum.getodk.org/t/applying-custom-fonts-to-a-survey/47197/3 "2024-06-28T10:05:07Z")

</div>

i am using Collect and i want to use (Jameel Noori Nastaleeq) font in application

---

<div class="post-metadata">

**Author:** ![Sadiq\_Khoja](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/sadiq_khoja/32/3719_2.png) [@Sadiq\_Khoja](https://forum.getodk.org/u/Sadiq_Khoja)\
**Post date:** [June 30, 2024, 5:37am UTC](https://forum.getodk.org/t/applying-custom-fonts-to-a-survey/47197/4 "2024-06-30T05:37:21Z")

</div>

Hi @noman.s2325,

To use a custom font, you need to install that font on the device. After that you can use "[Custom styling](https://docs.getodk.org/form-styling/#fonts-and-colors)" feature of XLSForm e.g. you can enter `<span style='font-family:"Jameel Noori Nastaleeq"'>اپنا نام</span>` in your Form's XLS to show label with Jameel Noori Nastaleeq font.

Having said that installing a custom font on an android device is not an easy task. There are some manufacturers who let you do that by default. And there are few applications in the Play Store that can install fonts for few manufacturers. I use Pixel and tried few apps from the store but none of them works for Pixel. Depending on your project and the devices used, you may be able to install the font.

If you are able to install custom font for your project, I would recommend using Google's [Noto Nastaliq Urdu](https://fonts.google.com/noto/specimen/Noto+Nastaliq+Urdu) font instead, because it is open-source.

Last point, this is a general android ecosystem problem that the default font for Urdu is not pleasing to eyes and all Urdu speakers would like to see Nastaliq font on our devices, with the release of Noto Nastaliq font I am hopeful that it will be available on all devices soon. There is a feature request about that on [Android issue tracker,](https://issuetracker.google.com/issues/161106701) you may want to take a look at and up vote it.

Thanks,

Sadiq

---

<div class="post-metadata">

**Author:** ![noman.s2325](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/noman.s2325/32/8842_2.png) [@noman.s2325](https://forum.getodk.org/u/noman.s2325)\
**Post date:** [June 30, 2024, 10:34am UTC](https://forum.getodk.org/t/applying-custom-fonts-to-a-survey/47197/5 "2024-06-30T10:34:06Z")

</div>

Thank you very much Sadiq.  
Can you share some example link xlsform which i can test...

---

<div class="post-metadata">

**Author:** ![Sadiq\_Khoja](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/sadiq_khoja/32/3719_2.png) [@Sadiq\_Khoja](https://forum.getodk.org/u/Sadiq_Khoja)\
**Post date:** [June 30, 2024, 3:42pm UTC](https://forum.getodk.org/t/applying-custom-fonts-to-a-survey/47197/6 "2024-06-30T15:42:46Z")

</div>

I have attached a sample Form below. Here's how it looks on an android emulator with [NotoNastaliqUrdu](https://fonts.google.com/noto/specimen/Noto+Nastaliq+Urdu) font installed:

 ![image](https://getodk.b-cdn.net/uploads/default/original/3X/4/5/451e545980ba8c3bdd28dcb5595572d7d31d7483.jpeg)  
 ![image](https://getodk.b-cdn.net/uploads/default/original/3X/1/c/1cc00d303fe5aea14a1715391ebbe12b906b455e.jpeg)

* * *

For the benefit of the larger community, with the default font, it looks like this:

 ![image](https://getodk.b-cdn.net/uploads/default/original/3X/c/9/c92c6668c66a3e8263cd08aefc10352124cf601b.jpeg)  
 ![image](https://getodk.b-cdn.net/uploads/default/original/3X/6/e/6eec9691224b5e7d575b5870c9f0ac022e8c2bea.jpeg)

* * *

**Sample Form:**

[UrduForm.xlsx](https://forum.getodk.org/uploads/short-url/1u7tb76mPS2nJbWSR6sM0XpI8fJ.xlsx) (578.5 KB)

---

<div class="post-metadata">

**Author:** ![Muhammad\_Faizan\_Imra](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/muhammad_faizan_imra/32/28684_2.png) [@Muhammad\_Faizan\_Imra](https://forum.getodk.org/u/Muhammad_Faizan_Imra)\
**Post date:** [April 18, 2025, 12:32pm UTC](https://forum.getodk.org/t/applying-custom-fonts-to-a-survey/47197/7 "2025-04-18T12:32:04Z")

</div>

Thank you for sharing this! It was very helpful - I had a follow up question - this font only applies to the label text and not to the options. Is there a way to apply the font to the answer options as well?

---

<div class="post-metadata">

**Author:** ![LN](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/ln/32/1605_2.png) [@LN](https://forum.getodk.org/u/LN)\
**Post date:** [April 22, 2025, 11:04pm UTC](https://forum.getodk.org/t/applying-custom-fonts-to-a-survey/47197/8 "2025-04-22T23:04:43Z")

</div>

You would have to include the style tags for each option label. That's certainly not very practical!

Would it make sense to consider bundling the open source font with Collect? Does anyone ever want the default Urdu font?

---

<div class="post-metadata">

**Author:** ![Sadiq\_Khoja](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/sadiq_khoja/32/3719_2.png) [@Sadiq\_Khoja](https://forum.getodk.org/u/Sadiq_Khoja)\
**Post date:** [April 24, 2025, 4:54pm UTC](https://forum.getodk.org/t/applying-custom-fonts-to-a-survey/47197/9 "2025-04-24T16:54:37Z")

</div>

That will be great! I have checked various popular Urdu newspaper websites from Pakistan and India, all are using either Nafees Nataliq or Nafees Nakhsh font. So I don't think anybody would be unhappy not to see default font.

Which font we choose will come down to a technical question i.e. can we allow or support diagonally growing text because Nataliq font grows that way, see:

 ![image](https://getodk.b-cdn.net/uploads/default/original/3X/0/2/024434f3a37b2512fad5cd04699eae26118a0fcb.png)

Nataliq is pleasing to my eyes but Nakhsh is safer choice.

---

<div class="post-metadata">

**Author:** ![noman.s2325](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/noman.s2325/32/8842_2.png) [@noman.s2325](https://forum.getodk.org/u/noman.s2325)\
**Post date:** [May 8, 2025, 5:40pm UTC](https://forum.getodk.org/t/applying-custom-fonts-to-a-survey/47197/10 "2025-05-08T17:40:43Z")

</div>

Hi Sadiq,

You're right to bring up the technical considerations. It's true that Naskh is often easier to implement in digital formats due to its linear, block-like structure. However, Nastaliq offers distinct advantages in terms of visual appeal and, for many readers, enhanced visibility...

As you attached the image for nastaliq font example , it is not an actual word, the longest complex urdu word is

 ![image](https://getodk.b-cdn.net/uploads/default/original/3X/5/8/5878e926c6e8c2f3cc7e006697586f828273b6c1.png)  
and it is seems fine  
i have already used nastaliq in different survey software like Sawtooth and Lime Survey and didn't face any kind of difficulties.

@LN  
I think it would be great if you can add nastaliq font or any other font like nastaliq, because it would be great option for the Urdu/Arabic ODK Users.

Thanks

---

<div class="post-metadata">

**Author:** ![M\_Asif\_Hussain](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/m_asif_hussain/32/20849_2.png) [@M\_Asif\_Hussain](https://forum.getodk.org/u/M_Asif_Hussain)\
**Post date:** [August 14, 2025, 7:27pm UTC](https://forum.getodk.org/t/applying-custom-fonts-to-a-survey/47197/11 "2025-08-14T19:27:00Z")

</div>

Can we not add NotoNastalicUrdu in collect assests folder as ‘notonastaliqurdu.ttf‘ and use it in the html font tags?
