[Openfontlibrary] Fwd: кто допишет модуль для ccHost. Предложения принимаются :)

Jon Phillips jon at rejon.org
Mon Nov 27 13:53:42 PST 2006


On Mon, 2006-11-27 at 15:16 -0500, Ed Trager wrote:
> Hi, Alexandre,
> 
> Your PHP module will certainly work quite well for generating PNG
> images of sample
> text in many scripts, but it has limitations: Complex text layout
> (CTL) scripts such as
> Arabic, Hebrew, Devanagari, Khmer, and many other human scripts will
> not be handled correctly because PHP does not call a shaping engine
> such as Pango to perform proper shaping / joining behaviour for
> complex scripts.
> 
> Whether this PHP script, or a derivative of this PHP script, meets the
> needs of the OFLB project therefore depends on what OFLB wants to do:
> 
> * If OFLB only needs the ability to show isolated glyphs, then a
> script like this is sufficient.
> 
> * Or if the OFLB only wants the ability to show example text using
> Western scripts like Latin, Greek, Cyrillic, and even some Eastern
> Scripts which have no complex shaping behaviour, like Chinese and
> Japanese, then this script is also sufficient.
> 
> * But if the OFLB also wants to render complex text layout scripts
> like Arabic, Hebrew or Devanagari, then the text image rendering
> methods provided in PHP are not sufficient.  In other words, for a
> generic solution that handles all scripts currently encoded in Unicode
> v. 4.0 or v. 5.0, PHP's text image methods are  not enough.
> 
> This is the reason why, for example, unifont.org's "Font Playground"
> actually has a dedicated C++ program on the backend which uses Pango
> for complex shaping behaviour.

Is that engine open sourced? Could we get a copy of it? No need to
reinvent the wheel and we could/would give massive credit to them for
this.

All of your logic is great to see and I think two things: 1.) its good
to get something/anything up for people use and instigate activity
(kudos to alexandre's script) 2.) the longer term is that we should
support as many languages, fonts and font usages as possible...

Jon

> Best Wishes -- Ed Trager
> 
> On 11/25/06, Alexandre Prokoudine <alexandre.prokoudine at gmail.com> wrote:
> > Hi,
> >
> > Here is a PHP module generating a sample PNG file from a TTF font
> > file. Put both attached fles to /var/www/html  to see how it works :)
> >
> > I think it's possible to implement adding custom text in the font
> > submit form, so that only those glyphs would be shown that make sense.
> >
> > Alexandre
> >
> > ---------- Forwarded message ----------
> > From: Igor Novikov <igor.e.novikov at gmail.com>
> > Date: Nov 25, 2006 3:30 PM
> > Subject: кто допишет модуль для ccHost. Предложения принимаются :)
> > To: alexandre.prokoudine at gmail.com
> >
> >
> > HI
> >
> > сабж в аттаче, расположить в /var/www/html  test.php и indigo.ttf
> > естебственно - енто просто сэмпл
> >
> > Игорь
> >
> > _______________________________________________
> > Openfontlibrary mailing list
> > Openfontlibrary at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/openfontlibrary
> >
> >
> >
> >
> _______________________________________________
> Openfontlibrary mailing list
> Openfontlibrary at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/openfontlibrary
-- 
Jon Phillips

San Francisco, CA
USA PH 510.499.0894
jon at rejon.org
http://www.rejon.org

MSN, AIM, Yahoo Chat: kidproto
Jabber Chat: rejon at gristle.org
IRC: rejon at irc.freenode.net



More information about the Openfontlibrary mailing list