incompl / learnlayout

source for learnlayout.com
http://learnlayout.com
217 stars 71 forks source link

Persian style improvements #91

Open incompl opened 10 years ago

incompl commented 10 years ago

< code > tags in Persian are rtl, which is wrong, and must be ltr.

Also as a suggestion, Tahoma is not good for Persian when its representing non-small texts. Unfortunately there are not many options to choose a proper font for Persian language. I think, as many Persian websites are using DroidNaskh font and it is a stylish font, its better to change it to DroidNaskh which can be accessed from Google Web Fonts by:

@import url(http://fonts.googleapis.com/earlyaccess/droidarabicnaskh.css); font-family: 'Droid Arabic Naskh', serif;

incompl commented 10 years ago

I fixed the LTR code elements problem.

We don't currently have a way to do language-specific fonts, but I want to do this.

shahverd commented 10 years ago

What about simply using "unicode-range" in font-face?

incompl commented 10 years ago

The problem is that we don't currently have a mechanism for language-specific styles.