freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Is there a way to generate character font on-the-fly according


From: dennis dang
Subject: Re: [ft] Is there a way to generate character font on-the-fly according to the encode?
Date: Tue, 15 Mar 2011 15:10:42 +0800

Hi Tom,


On Tue, Mar 15, 2011 at 4:35 AM, Tom Bishop, Wenlin Institute <address@hidden> wrote:

On Mar 13, 2011, at 11:13 PM, dennis dang wrote:

> Hi Werner,
>
> Thank you very much for the information. The CDL model might be what I need.
>
> Now I have a prototype which takes special description (using existing CJK characters) and produces the composed character as an image, and the new character is sure not encoded. However I have no idea what to do next, to display/edit as usual ways the un-encoded character.

The way we do that with Wenlin CDL is, we have a customized text editor that recognizes <cdl>...</cdl> elements, embedded in what may otherwise be plain text. Each CDL description is displayed as a single CJK character. The CDL interpreter converts each CDL description into outlines for each strokes, which can be output as TrueType, Postscript, SVG, etc. For displaying on the screen, the interpreter (built into the text editor) produces FreeType outlines, which get rasterized by FreeType, then sent to the screen as bitmaps. This can be done without assigning a private-use code point to the character. (We do also use a lot of private-use code points.)

Thanks for the explanation, I'm sure this is a good way.
 

Converting a CDL description into an outline is complicated, and probably too off-topic to discuss on the FreeType list. Thanks for your interest in CDL, and thanks to Werner for mentioning it! I'm happy to answer questions about it.

Yes. I do agree that converting a description into the outline of an CJK character is complicated, given that the variation and transformation of each component glyph might be complex, and the CDL work you have accomplished is amazing.


Thanks & Regards,
Dennis

 

Best wishes,

Tom

>
> Thanks & Regards,
> dennis
>
>
> On Sun, Mar 13, 2011 at 11:57 PM, Werner LEMBERG <address@hidden> wrote:
>
> > Is there a way to generate character font on-the-fly according to
> > the encode?
>
> Not with FreeType (our library is primarily meant to rasterize
> existing outlines).  However, have a look at those two links:
>
>  http://www.wenlin.com/cdl/
>  http://www.tug.org/TUGboat/Articles/tb24-1/yiu.pdf
>
> There's certainly more in the web.
>
>
>    Werner
>
> _______________________________________________
> Freetype mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/freetype


文林 Wenlin Institute, Inc.        Software for Learning Chinese
E-mail: address@hidden     Web: http://www.wenlin.com
Telephone: 1-877-4-WENLIN (1-877-493-6546)







_______________________________________________
Freetype mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/freetype


reply via email to

[Prev in Thread] Current Thread [Next in Thread]