Arabic web fonts

behnam's picture

I have an idea to chew on.
Let's produce a font, or a series of fonts specifically designed for the web. Then give the package to makers of operating systems, windows, mac and linux, to include in their system font package.
This way, the web designers will have the option to use fonts that a) work on any platform b) are optimized for web viewing, both in terms of clarity and in terms of balance between Roman and Arabic, while maintaining the integrity of Arabic script.
How about that Amsterdam?!

AzizMostafa's picture

Then give the package to makers of operating systems, windows, mac and linux, to include in their system font package.
Free of Charge of Course:
http://alvi.urdushare.net/blog/20081...alvi-nastaleeq
With Baskets of Flowers

behnam's picture

Thanks Aziz. Yes of-course. This can be one option of the package. But technically speaking, my idea is a bit more complex than that.
I don't urge operating system makers to go and shop around to see what free Arabic font is available and collect them. This is what users do! They will not do it and I don't want them to do it either.

On the technical side, the fonts in the package has to go through serious and reliable tests in terms of their proper functionality on various platforms. For one thing for example, that Nasta'liq font doesn't have AAT and won't work on older Macs.
On the visual side, I'm not sure that font can meet the web clarity requirements, particularly on Windows platform.

So what I mean is a serious concerted effort to produce a package with a credible stamp of approval. Otherwise, Linux may go for it, but not the two others.

John Hudson's picture

So what you are looking for is something akin to Verdana and Georgia: widely distributed, generously licensed fonts that provide reliable font spec'ing in CSS etc. In addition, designed specifically with the screen in mind and suitably hinted for low-resolution display. [The big difference between creating such fonts now and when Verdana and Georgia were first developed is that black & white pixel displays are pretty much a thing of the past, so the hinting model would be different.]

It is certainly do-able. Any ideas about funding?

behnam's picture

Thanks John. No I have no idea about funding. But throwing the idea is a good start I hope.

I was thinking of a 'package' of fonts because as you may have noticed, the idea of what constitutes a single good standard Arabic web font may vary substantially. So it's good that you mentioned two fonts because I think at least we need two typeface. One with basic ligatures for Arab users, another one without ligatures for mostely non Arabs. I don't know how much the language identification can be reliable for this on different platforms and different browsers. Besides, there may be an Arabic site that doesn't want to have ligature or vice-versa. Then of-course there might be different views about what style is more 'standard' for the web. I am leaning toward a simplified Naskh, something simialr to Geeza Pro and Yagut. Others may have other ideas. This is basically a topic for exploring the idea.

There may well be that at some point, embedded fonts will be supported on all platforms and all browsers and web designers will be less dependent on system fonts. This also may be a solution for Arabic web situation, both for Arabic language and particularly for non Arabic languages. But it is certainly not a solution for quality font making.

Hinting is generally a trade secret. I have no knowledge of it. Is hinting model as good as pixel display?

John Hudson's picture

Hinting isn't a trade secret (although the particular tricks and strategies and tools that individual hinters use may be). Hinting is, simply stated, a means of influencing outlines at specific sizes and resolutions in order to obtain a better rasterised image (rasterisation is the wrapping of outlines to pixel or other dot grids). The effects of hinting on the same outlines will, therefore, vary depending on the rasterisation model (binary pixel display, i.e. black and white, vs. greyscale antialiasing vs. subpixel colour antialiasing).

piccic's picture

I think this is a great idea. Although I don't read Arabic, it's surely one of the scripts which may suffer most from small onscreen textsetting.
Although I have no idea about funding, I'd be glad to contribute, if I can. Besides, it would be a good excuse to learn the Arabic letterforms and to attempt designing them…

Plus, it would be interesting to have a font following the semplification experiments of Saad or the "simplified Arabic" of Khattar-Hedrick…

behnam's picture

Thanks piccic for your offer but nobody is fund-raising anything yet. I'll keep it in mind though!

John I'd go with greyscale antialiasing if that is what is being done on the Mac. It is perfect for scripts with a lot of curvatures that in a small size can not simply be reduced to black and white pixels.
I know that it is partially a question of habit. I heard that some PC users were complaining that Safari on the PC is 'blurry'. So the habit may go the other way too. But definitively for Arabic script this should be a plus.
My suggestion of a font face similar tp Yagut is mostly because the design is fairly resistant in becoming jagged in small size. It's a fairly thick design and fairly geometrical. A finer typeface without antialiasing is a desaster in small size. I know it because a site is currently using a finer face (that I made and didn't put anything other than authohinting of FontLab) and it looks very nice on the Mac but pretty unusable on a PC (unless perhaps Safari is being used).
If hinting in the font can do what is automatically done on the Mac, this could be a sigh of relief because the typeface options for Arabic web fonts extends substantially.

John Hudson's picture

You misunderstand. The rendering model used largely depends on the system or application, not on the font. For systems that offered both black and white bitmaps and greyscale antialiasing, it is possible to set flags in the font to turn on and off antialiasing at specific sizes and to apply or not apply hints. Colour subpixel rendering does not offer this option, and may selectively apply hints (MS ClearType ignores x-direction delta hints, for example) or ignore hints completely (Apple Quartz rendering). Also, different systems or applications may interpret the same hints in different ways.

Some amount of hinting is desirable in pretty much any font -- unless one knows for sure that Apple Quartz rendering is the only environment in which the font will appear --, even if it is only to control vertical alignment zones. The kind of hinting we do for sub-pixel rendering environments tends to be quite minimal, concentrating on y-direction hints. Depending on the individual design, auto-hinting can sometimes take one a long way toward good results; other designs call for a lot of manual work.

Saad Abulhab's picture

Bahnam

>>I know it because a site is currently using a finer face (that I made and didn’t put anything other than authohinting of FontLab) and it looks very nice on the Mac but pretty unusable on a PC (unless perhaps Safari is being used).

Autohinting of FL has *some* benefits to Latin fonts, but even there it is not so hot an idea. In Arabic, autohint should be off. Antialiesing gives best possible results. Otherwise one would need to go the painful path of original hinting.

John Hudson's picture

Saad, blind autohinting seldom gives good results in any script, but it is possible to manage the autohinting by manually specifying alignment zones and standard stem weights, what I call semi-automatic hinting. Since Arabic tends to have a greater range of letter heights, controlling alignment zones is trickier than for Latin, but in general terms the relative efficacy of (semi-)autohinting is typeface dependent, not script dependent.

Antialiesing gives best possible results.

Antialiasing and hinting are not exclusive unless a particular rendering engine chooses to ignore hints completely (e.g. Apple's 'full-fuzz' Quartz rendering, which personally I can't stand). Most antialiasing makes use of hints in various ways.

behnam's picture

I guess I have to agree with Saad on this. For Arabic script, blanket antialiasing is the way to go. I know that there is a conceptual difference of opinion between two platforms in text rendering that is going on here that I fail to understand. But I can not fail my eyes. And my eyes tell me that to view properly an Arabic script, you need antialiasing. In fact, the goal of proper hinting of an Arabic web font should be to look like what it looks with antialiasing which of-course, may have the advantage of not having an unnecessary 'shadow' on a larger size. But to me, this minor advantage fades in the face of the fact that how limiting it has made the use of Arabic fonts on the web.
Arabic glyphs don't loose their curvatures in size 12. Pixels do. And it is for text rendering engine to resolve this obvious fact not the font.. in my opinion. But this topic is for solving a font problem which should not have been a problem to begin with.

Now in a parallel discussion that we had on our community site, Aziz (not the same Aziz, another one!) has posted the pictures of a text on the Mac and Windows, with and without ClearType and antialiasing, produced by two or three different fonts. ClearType somewhat improves the unbearable state of the text on the Windows. My question is that how much more improvement can be applied to the fonts with proper hinting? In these samples, Geeza and Yagut are fairly thick fonts (although it's hard to believe it in some pictures!) and Zar is moderately fine.
http://balatwit.com/fonts/

AzizMostafa's picture

I would like to ask all:
Why trouble yourselves setting text onscreen with small fonts and long lines (Behnam Samples)? Why strain your eyes and crane your necks?
Just make our life easy and use Big fonts on short lines!

behnam's picture

There is so many 'because' that I don't know where to start. Because the text is moving from paper to screen. Because finesse is in the nature of the script. Because this is the way I read the books... because I don't like the limitations.

AzizMostafa's picture

> ... because I don’t like the limitations.

Limitations? What Limitations? The screen knows no limits?!
Moreover:
1. The bigger the Arabic Script, the nicer?!
2. Walking through long lines causes cross in the eyes?!

behnam's picture

Dear Aziz this is irrelevant to this discussion. You may choose your page layout, font size or font shape anyway you want. The preferences may differ in different languages or different countries or simply different persons. The bottom line is that the text should look as it is expected to look.
I didn't see anybody complaining the lines are too long or the font is too small in this forum. But of-course, I'm using a Mac! I just want to know how this is being done on this site, and same thing with the same size can not be done in Arabic.

AzizMostafa's picture

> I didn’t see anybody complaining the lines are too long or the font is too small in this forum.

Including me?!

> The preferences may differ in different languages...

Excluding Arabic?!

Excuse my complaining with non-Arabic with Flowers

piccic's picture

I agree with you both, since:

- Aziz is right: onscreen text is often too small (and in recent years, higher resolution monitors, amybe even of small dimensions, i.e. the ones in portable PCs, worsened the problems).
Plus, I do not even remotely believe that "the text is moving from paper to screen" (Benham).
The text is *also* on the screen, but this does not mean I will ever read on it, besides Internet and programming or the like… A big energetic crisis would make people aware of how technology-dependent we have become…

- Benham is right: Aziz, you can specify point size as wished in page layout, on the web, maybe somewhere, but menus and text in applications becomes problematic to handle (or to specify) in bigger sizes. Plus, don't think it's only Arabic which benefits from being looked in its details…
I guess I'm not interested (so much) in hinting, since I have no wish to produce most of what I am doing except for printed applications. Should I be forced to stop using electricity, well I guess I'd learn stone carving, or at least how to punch-cut… :=)

Flowers to both, and may the All-merciful be with you… :=)

k.l.'s picture

onscreen text is often too small (and in recent years, higher resolution monitors ... worsened the problems)

Another factor seems to be antialiasing which encouraged people to use type at sizes they'd never have dared use when type was black and white only.

behnam's picture

This discussion is not going anywhere. All I want to do is to be able to do what we are doing in this forum, in this page, with this size, but in Arabic. With or without antialiasing or ClearType.

BTW I love this featured font Whitman Display!

AzizMostafa's picture

> but menus and text in applications becomes problematic to handle (or to specify) in bigger sizes.

That's was not problem even on Windows3.1.
Menus+Database Texts need not to be fully-ligatured + fully-kerned.
Additionally, menus are too frequently used to click blindly.

> Another factor seems to be antialiasing which encouraged people to use type at sizes they’d never have dared use when type was black and white only.

Antialiasing Or Tantalizing?

piccic's picture

This discussion is not going anywhere.
It's because we still lack funding… :=)

On my part: I'm 99% in favor of aliased text, at least for point sizes under 12pt.

@Aziz: It's anyway annoying to have an excessively big system pt. size.
Even if you use 18, in most applications you have not enough space for all the main menus…
Is 18 enough for the nuances of vocalized Arabic, by the way (but why would I need vocalized arabic in System menus? Huh?)

AzizMostafa's picture

Piccic, Ligatures, kerning , Marks are applicable to Big Arabic fonts
and never used for Arabic system fonts.

piccic's picture

Ah, OK, fine, so this comment of yours:
Just make our life easy and use Big fonts on short lines!
was not closely related to the project proposed by Benham, which is of a simplified Arabic type for menus and system applications. That's why I did not understand, now it's clearer, thanks…

We should see, however, what Behnam meant when saying “specifically designed for the web".
It seems to me that the term could apply both to your full-accented calligraphic faces & to simple system fonts…

behnam's picture

System fonts are not involved in this discussion. The only way that they are involved is that I want to get rid of them in web pages!
In the practical usage of Arabic script, at least from what I know from Persian and what I see in Arabic, vowels are assumed, not written. This applies to the application localized versions too. Generally the extensive usage of vowels requires larger font size to accommodate the visibility of vowels. Occasional usage of vowels in web text is mostly used when writer can not 'assume' that the reader would know the proper pronunciation of the word.
So my focus here for web fonts is not the vowels performance per se, but the characters clarity, which would also have a better rendition of vowels as a side effect. But the focus is on the characters themselves.
On applications with antialiasing, this visibility in small size is already achieved. The problem for web pages is that they can not assume the user has this facility. I think that there is no global solution for this situation and web designers should assume that the users have at least a rendering technology such as ClearType at their disposal. This will make the text at least readable, although the font face would loose all its specificity in small size.
The rest, I think, will fall on user shoulder to choose the proper tools for web viewing to his satisfaction. A font can not make miracle and if it could, it would be one single font with a lot of work. This limits substantially the web designer choice of page layout. It may well be that for Arabic web pages, the advent of embedded fonts would be the best and most practical solution. Although simplified Naskh is what I have in mind when thinking about web pages, the embedded font would allow all kind of styles, if the web designer see fit for his usage.

piccic's picture

Yes, sorry, while speaking I forgot you were talking especially of the web. :=)

But mentioning the web makes me think in the same vein of any other screen application.
Arabic looks crucial to me for its inherent characteristics, as it suffers at small sizes, but if money is the only thing which motivates software vendors, an effort like the one you are suggesting seems the most effective way to see the thing realized.

Plus, text on screen is not for extensive reading, no matter how you treat it.
You should have low-emission screens like the eBook devices which are developing now, to make a reading which does not tire the eye. And – at any rate – this will never substitute (as being "the same") such a simple object as a book.

behnam's picture

Well, while the initial idea, making optimized Arabic web fonts and somehow making sure they are present in all computer is still the best idea, at least for 'body text' and localized usage of applications, the CSS embedded font technology looked promising to me for the freedom of design that it provides. But it seems that it has a serious effect in webpage 'volume', particularly if it is an Arabic font (which should also include some Roman).
It seems that if this Typophile page has an embedded font for example, I have to load it each time I open this page, weather I already have the font in my computer or not. If that is the case, this is not a good substitution for the original idea. Considering how big an Arabic font would be, and how slow opening of a web page will get.

As you see, we have to juggle between technicalities and aesthetics issues constantly... and getting nowhere!

-------------

But you are right. The current screens are not for reading books. I also am looking forward to see what will become of this 'reflective' screens technology. My point was simply that it is not out of ordinary to expect a font size on the screen as you would see on a book... and that there in a constantly increasing reading time spent in front of the screen.

Camille Khattar Hedrick's picture

A system of fonts for the Web already exists: The font system based on Unified Arabic (TM) created by my father, Nasri Khattar, is perfectly adapted to the Web as well as to all other electronic systems. I have begun to pick up his work after a long hiatus following his passing in 1998. The font system contains eight very different typefaces based on Unified Arabic. Each contains 28 to 30 characters and are based on ASMO 449. Some of them have already been designed *to automatically connect* without any additional ligatures; some of them do not connect, but are separate unified shapes easily read by anyone who can read Arabic characters - not just Arabs, as you know, but Kurds, Pakistanis, Iranians, and so on.

I'm in the process of scanning samples and creating a new Web site. I created just one page a few years ago on which you can see the Neo-Kufic (TM) form Khattar created in the page header.

Please let me know what you think.

Camille Khattar Hedrick
President, Daughter of Nasri Khattar
Unified Arabic, LLC

behnam's picture

Dear Camille,
Sorry for the late response and thank you for your interest.
Since I posted this topic, I have changed my mind and I'm no longer looking for a solution for web font. I'm not familiar with your father's work but considering the timeframe, I suspect we are not talking about the same thing.
There was a time that the challenge was to produce Arabic text within the capabilities of the computers of the time. The challenge was to produce an Arabic text that could be printed on a dot-matrix printer for example. I'm sure that the work of your father could be greatly appreciated facing that challenge.
Now the challenge is to accommodate Arabic script natural beauty by the computers. It is no longer an issue of text adjusting itself to the technology limitations, but to adjusting technology to the text aesthetics and functionality requirements. And now I believe the solution doesn't start with the font but the text engine technology for Arabic script which is not geared to the natural behavior of Arabic script.
Regards,
Behnam

Camille Khattar Hedrick's picture

Dear Benham,

Thank you for your kind response. Yes, my father did create a style for the dot-matrix printer, of course! It was just one of the many applications. You knew that already.

What I need to do is show the newer fonts that are connected, although based on Unified Arabic. I am still working on finding funding to produce software from his original designs and then distribute them as widely as possible.

Since he reduced the number of characters to only 28-30, and designed them to connect, it would be very simple to produced the seven or eight typefaces as software.

His newer designs do in fact accommodate the natural beauty of Arabic script. Unfortunately, I have a full-time job, and just don't have the time to do everything that needs doing. I will keep logging in to this site to learn more and more about this field, which was my father's, but is not mine - I'm in marketing and communications.

I hope we can stay in touch.

Sincere regards,

Camille Khattar Hedrick
President and Owner, Unified Arabic, LLC
Daughter of Nasri Khattar

redben's picture

A born dead project ? Is anyone still willing to work on this ? Actually it is frustrating how Arabic typography on the web is so monotone (and ugly)...It feels like it has all been done on typewriters. Imagine the whole latin web using Courier...!
Unfortunately, i can't help as i am not a typography artist. But how i wish this project gets started and succeeds.

unthinkingly's picture

Hello friends,

I came to this thread wondering what the best choices for Arabic web typography are. In particular I need a font that meets two criteria:

1) the vertical proportions are the same between English and character sets, so that the line-height and letter-spacing propertes do not need careful tweaking.

2) the font is licensed for web use (ideally to be embedded with @font-face)

If this is not possible, which web-safe font should I use, and what is the most appropriate way to balance English and Arabic text on the page?

I would love some references to Arabic web typography in general, I have spent an awful lot of time on this and can't seem to ever get something that makes everyone happy -- and really just wish to defer to someone else's best practices.

behnam's picture

unthinkingly,
These fonts are multilingual and BIG. So I'm not sure it they are suitable for your web use. But give them a try if you wish.

nabil's picture

Support this idea at Google font directory to add Arabic web fonts

bijan's picture

There is finally a Arabic webfont service. I think it is the only webfonts service for Arabic and Persian.

unthinkingly's picture

Thankfully fonts.com has arabic webfonts now, but we are still waiting on Google, which has a very fast and free font hosting network. I am also surprised that other companies like typekit.com have not started to support Arabic yet.

However multilingual support improved vastly last year among webfont hosts, so I expect to see many Arabic webfonts any day.

If you want to keep updated with one of Google's Arabic type development projects check out http://shashafont.com — I think they are still working on it, though I'm curious why the project has not been moved to Kickstarter like some of their other fonts.

Cheers
c

hrant's picture

> http://shashafont.com

That's not very nice, sorry.

hhp

Syndicate content Syndicate content