Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Custom Fonts are not working #2

Closed
jinnajmal opened this Issue · 3 comments

2 participants

@jinnajmal

i tried it with some custom Arabic fonts and its showing only device default font.

@giladno
Owner

Could you please provide a sample project? Do you bundle those fonts with your project?

@jinnajmal

I have performed the following changes into your provided Sample Code:

  • Add the Font into application bundle
  • add the custom font entry into application plist file noorehira.ttf
  • then added some Arabic Text into your sample html file ذَٰلِكَ الْكِتَابُ لَا رَيْبَ ۛ فِيهِ ۛ هُدًى لِلْمُتَّقِينَ

but its not showing this custom font. its showing this Arabic text into Apple's default font.

https://dl.dropbox.com/u/6137862/noorehira.ttf

@giladno giladno closed this
@giladno
Owner

I've updated the sample project to show how to use a custom font (b3b647d)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.