Re: [PATCH 6/6] Makefile: now support other common export formats

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

 





On 22 February 2012 02:49, Jan Pokorny <jpokorny@xxxxxxxxxx> wrote:
On February 21, 2012 7:20:27 AM, Pravin Satpute wrote:
>
> On 02/20/2012 09:49 PM, Jan Pokorny wrote:
> > Based on the previous patch, we create a generalization of how was
> > "ttf" target handled to support exporting also to other common
> > formats.  We add "4web" target covering common formats used on
> > the web (HTML/CSS:font-face): TTF, WOFF, SVG, EOT.
> > It is easy to add other formats if needed and provided that
> > such format is supported by FontForge.
> >
> > To be honest, I am not sure about two things:
> > - Is the existing TTF export OK for web usage?  Have been exploring
> >   this field shortly, but cannot defuse my confusion (TTF/OTF,
> >   ...).
>
> Yes. It should work fine.
> I have not explored Web fonts yet much, this is learning experience
> for me as well.
>
> > - Is hardcoded "fmflags" parameter in scripts/fontexport.pe
> >   OK also for formats other than TTF?
>
> Will be good if you can test it and update the thread, so before
> final commit i will be in better position.

I've put together a simple test page [1] so anyone can test the result
in the browser of choice.  I've only tested Firefox (i.e., TTF and WOFF
only) and works as expected.  All the formats used are generated using
"make 4web", employing the proposed patchset. 

Pravin, we can somehow get such or similar test HTML to the upstream
repo if preferred (can be viewed offline as well, indeed).

Yes, having test page in upstream repo is good idea.
I will check and commit in upstream repo, soon.

Thanks,
Pravin Satpute
 

[1] http://fedorapeople.org/~jpokorny/font-test/liberation-sans-italic.html

-- Jan

_______________________________________________
fonts mailing list
fonts@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/fonts
http://fonts.fedoraproject.org/

[Index of Archives]     [Fedora Users]     [Font Configuration]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux