Re: [Wikitech-l] Creating WOFF files -- sub-setting larger fonts

2013-02-17 Thread vitalif

Fontforge has an option to export the fonts to WOFF format.


Thanks, Fontforge worked even better than the online converter - usable 
WOFF, and the size is 50kb instead of 54kb :-)



[1] http://code.google.com/p/sfntly/
[2] http://code.google.com/p/sfntly/wiki/MicroTypeExpress


As I understood, sfntly is just the library, so do you use some utility 
of your own? Is it available somewhere?


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Creating WOFF files -- sub-setting larger fonts

2013-02-17 Thread vitalif
By the way, I've just tried to use ttf2woff from fontutils to convert 
Ubuntu TTF font to WOFF format for use in one of my projects.
And the resulting WOFF produced by this utility is not usable in any 
Linux browsers (tried Firefox, Chrome, Opera). Don't know if it works on 
Windows.
And at the same time some random online font converter produced normal 
WOFF from the same TTF.
I've reported this bug at CPAN: 
https://rt.cpan.org/Public/Bug/Display.html?id=83377
The files are attached for reference - source TTF, WOFF created by 
ttf2woff (ubuntu-bad.woff) and normal WOFF created by online converter 
(ubuntu-good.woff).___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Creating WOFF files -- sub-setting larger fonts

2013-02-17 Thread Santhosh Thottingal
For the font repository we maintain as part of
UniversalLanguageSelector, we use Google sfntly[1] to convert fonts to
WOFF and EOT with maximum compression.
We also use MicroType express compression[2] for compressing eot to
reduce the size as possible as we can.

Fontforge has an option to export the fonts to WOFF format.

[1] http://code.google.com/p/sfntly/
[2] http://code.google.com/p/sfntly/wiki/MicroTypeExpress


Thanks
Santhosh

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Creating WOFF files -- sub-setting larger fonts

2013-02-17 Thread vitalif
By the way, I've just tried to use ttf2woff from fontutils to convert 
Ubuntu TTF font to WOFF format for use in one of my projects.
And the resulting WOFF produced by this utility is not usable in any 
Linux browsers (tried Firefox, Chrome, Opera). Don't know if it works on 
Windows.
And at the same time some random online font converter produced normal 
WOFF from the same TTF.
I've reported this bug at CPAN: 
https://rt.cpan.org/Public/Bug/Display.html?id=83377

Links to font files, for the reference:
* Source TTF: http://vmx.yourcmc.ru/var/ttf2woff-bug/ubuntu.ttf
* Bad WOFF (by ttf2woff): 
http://vmx.yourcmc.ru/var/ttf2woff-bug/ubuntu-bad.woff
* Good WOFF (by online converter): 
http://vmx.yourcmc.ru/var/ttf2woff-bug/ubuntu-good.woff



___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Creating WOFF files -- sub-setting larger fonts

2013-02-17 Thread Santhosh Thottingal
Thanks for sharing, Mark. SIL fontutils[1] has lot of handy tools.

[1] http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=fontutils

Santhosh

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Creating WOFF files -- sub-setting larger fonts

2013-02-16 Thread Mark A. Hershberger
Santhosh pointed out that size was very important[1] when creating WOFF
files for use on Wikimedia sites.  When I asked for help creating a
subset of FreeSerif on the freefonts-bugs[2], Steve White said that was
"one thing on the big To Do list".[3]

In an amazing display of the power of open source, Bob Hallissy from SIL
produced ttfsubset[4].  Perhaps the i18n team would find this of a use
when they need to produce WOFF fonts.

[1]
http://lists.wikimedia.org/pipermail/wikitech-l/2013-February/066531.html
[2] https://lists.gnu.org/archive/html/freefont-bugs/2013-02/msg2.html
[3] https://lists.gnu.org/archive/html/freefont-bugs/2013-02/msg4.html
[4] https://lists.gnu.org/archive/html/freefont-bugs/2013-02/msg5.html

-- 
http://hexmode.com/

There is no path to peace. Peace is the path.
   -- Mahatma Gandhi, "Non-Violence in Peace and War"


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l