You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Martin Heidegger <mh...@leichtgewicht.at> on 2012/04/04 18:30:05 UTC

Re: CFF Font Embedding (was Re: Here Comes MXMLC!)

As I search about implementing fonts in haXe i stumbled upon this [1]. I 
have to say hxswfml is easier to read than the fontforge source.

yours
Martin.

[1] http://code.google.com/p/hxswfml/source/detail?spec=svn118&r=117 
<http://code.google.com/p/hxswfml/source/detail?spec=svn118&r=117>

On 30/03/2012 09:37, Dave Fisher wrote:
> On Mar 28, 2012, at 6:05 PM, Left Right wrote:
>
>> Aha... so, as far as I could understand, CFF is different from TTF in that
>> it uses cubic curves for outlines instead of quadratic. Is there anything
>> else that is different?
>> Would this also mean that fonts, originally in OTF (CFF) format can be
>> compiled right away w/o needing to do some [more] complex math to translate
>> outlines fairly? If so, that could be a start, well, at least for people
>> who use CFF for the features built on top of it rather then for it's own
>> qualities (*sigh* which is another interesting paradox of how originally
>> good idea turned into disaster...) could continue using it to some extent.
>> It's also strange that the format exists for almost 10 years, and
>> is standardized under ISO and no opensource libraries exist for using /
>> converting it? Sounds fishy, I'd say...
> FontForge might be a possibility. [1]
>
> It is only offered in source now. I've got to hold onto my old MacOS/X11 version. It uses a revised BSD license which could be checked if the project is interested.
>
> It claims to support CFF. [2]
>
> Regards,
> Dave
>
> [1] http://fontforge.sourceforge.net/
> [2] http://fontforge.sourceforge.net/TrueOpenTables.html
>
>
>
>> Best.
>>
>> Oleg
>
>


Re: CFF Font Embedding (was Re: Here Comes MXMLC!)

Posted by Alex Harui <ah...@adobe.com>.


On 4/4/12 9:30 AM, "Martin Heidegger" <mh...@leichtgewicht.at> wrote:

> As I search about implementing fonts in haXe i stumbled upon this [1]. I
> have to say hxswfml is easier to read than the fontforge source.
An update:  Adobe is still investigating what it would take to make a set of
JARs available to Apache.

The fontswf utility is only available in the full Adobe Flex SDK.  Someone
would have to have an Adobe license then could create SWFs with fonts in
them that can be embedded into Apache Flex SWFs.

I've been told that DefineFont4 is really just a blog of CFF data, so any
utility that can convert other fonts to CFF has a chance of working.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui