Git Product home page Git Product logo

ttf2eot's Introduction

Very quick commandline wrapper around OpenTypeUtilities.cpp from Chromium, used
to make EOT (Embeddable Open Type) files from TTF (TrueType/OpenType Font)
files. This is the format TTLoadEmbeddedFont() accepts, which is what Internet
Explorer uses for css @font-face declarations.

I've only tested this on Linux.

EOT was documented by Microsoft here:
    <http://www.w3.org/Submission/2008/SUBM-EOT-20080305/>

TTLoadEmbeddedFont is described here:
    <http://msdn.microsoft.com/en-us/library/dd145155(VS.85).aspx>

Chromium:
    <http://src.chromium.org/viewvc/chrome/trunk/deps/third_party/WebKit/WebCore/platform/graphics/win/OpenTypeUtilities.cpp?view=log&pathrev=7591>

To build:

    $ make

Usage:

    $ ./ttf2eot < input.ttf > output.eot

Author: [email protected] 15-Mar-2009
License: Derived from WebKit, so BSD/LGPL 2/LGPL 2.1.

Keywords for anyone having as much pain as me finding a utility to do this on Linux:

    covert eot to ttf
    eot converter
    wtf is an eot file


TODO: MTX support?

ttf2eot's People

Watchers

 avatar

ttf2eot's Issues

could not open input file

What steps will reproduce the problem?
1. Run the exe on windows 7  (haven't tried anywhere else

ttf2eot.exe  font.ttf  font.eot
generates the following error: "could not open input file font.ttf, m"

What version of the product are you using? On what operating system?

0.0.2-2

Downloaded and extracted the zip file.


Original issue reported on code.google.com by [email protected] on 10 Sep 2010 at 4:31

Problem in referencing libiconv library

1)Unable to add linker reference to "libiconv" while trying to compile file 
from eot folder(eotutils\src\eot).

2)Downloaded "libiconv" library but confuse in adding reference which show 
error in compiling.


Executing make...
make.exe -f "C:\Dev-Cpp\Examples\eottest\Makefile.win" all
gcc.exe eot.o libeot.o properties.o -o "Project1.exe" -L"C:/Dev-Cpp/lib"
libeot.o(.text+0x19):libeot.c: undefined reference to `libiconv'

Original issue reported on code.google.com by [email protected] on 29 Nov 2010 at 6:56

ttf2eot doesn't compilable on Linux platform

What steps will reproduce the problem?
1. make

What is the expected output? What do you see instead?

feniks@anna /tmp/ttf $ make
g++    -c -o OpenTypeUtilities.o OpenTypeUtilities.cpp
OpenTypeUtilities.cpp:227:18: warning: multi-character character constant 
[-Wmultichar]
OpenTypeUtilities.cpp:247:18: warning: multi-character character constant 
[-Wmultichar]
OpenTypeUtilities.cpp:257:18: warning: multi-character character constant 
[-Wmultichar]
OpenTypeUtilities.cpp: In function ‘bool getEOTHeader(unsigned char*, size_t, 
std::vector<unsigned char>&, size_t&, size_t&, size_t&)’:
OpenTypeUtilities.cpp:197:41: error: expected primary-expression before ‘,’ 
token
OpenTypeUtilities.cpp:197:43: error: ‘tables’ was not declared in this scope
OpenTypeUtilities.cpp:197:49: error: ‘offsetof’ was not declared in this 
scope
OpenTypeUtilities.cpp:202:41: error: expected primary-expression before ‘,’ 
token
OpenTypeUtilities.cpp:202:43: error: ‘tables’ was not declared in this scope
OpenTypeUtilities.cpp:202:49: error: ‘offsetof’ was not declared in this 
scope
OpenTypeUtilities.cpp:259:70: error: expected primary-expression before ‘,’ 
token
OpenTypeUtilities.cpp:259:72: error: ‘nameRecords’ was not declared in this 
scope                                                                           


OpenTypeUtilities.cpp:259:83: error: ‘offsetof’ was not declared in this 
scope                                                                           


OpenTypeUtilities.cpp:265:74: error: expected primary-expression before ‘,’ 
token                                                                           


OpenTypeUtilities.cpp:265:76: error: ‘nameRecords’ was not declared in this 
scope                                                                           


OpenTypeUtilities.cpp:265:87: error: ‘offsetof’ was not declared in this 
scope                                                                           


make: *** [OpenTypeUtilities.o] Error 1


What version of the product are you using? On what operating system?
Product: ttf2eot-0.0.2-2.tar.gz 
OS: Gentoo
gcc: gcc version 4.7.3 (Gentoo 4.7.3-r1 p1.3, pie-0.5.5)

Please provide any additional information below.
chromium source file OpenTypeUtilities.cpp doesn't copmiled because it doesn't 
include <stddef.h> . As file OpenTypeUtilities.cpp from other project and can 
be updated in a future, it is usefull to patch it from Makefile.

I attached fix for Makefile + patch OpenTypeUtilities.cpp file.

To apply this changes (ttf2eot_compile_fix.zip), please:
1. Store in project root file: add_stddef.patch
2. patch Makefiles with command: $ patch Makefile < Makefile.patch
3. Commit to svn.

Please, mention that author of this changes is: Maksym Sditanov 
<[email protected]>

Original issue reported on code.google.com by [email protected] on 15 Jan 2014 at 3:52

Attachments:

Error compiling on Ubuntu 9.04 64bit

I get the following compilation error on 64 bit Ubuntu 9.04.

adam@office1:~/Downloads/ttf2eot-0.0.2$ make
g++    -c -o OpenTypeUtilities.o OpenTypeUtilities.cpp
OpenTypeUtilities.cpp:220:18: warning: multi-character characte
OpenTypeUtilities.cpp:240:18: warning: multi-character characte
OpenTypeUtilities.cpp:250:18: warning: multi-character characte
OpenTypeUtilities.cpp: In function ‘bool getEOTHeader(unsigned 
 size_t&)’:
OpenTypeUtilities.cpp:190: warning: invalid access to non-stati
OpenTypeUtilities.cpp:190: warning: (perhaps the ‘offsetof’ mac
OpenTypeUtilities.cpp:195: warning: invalid access to non-stati
OpenTypeUtilities.cpp:195: warning: (perhaps the ‘offsetof’ mac
OpenTypeUtilities.cpp:252: warning: invalid access to non-stati
OpenTypeUtilities.cpp:252: warning: (perhaps the ‘offsetof’ mac
OpenTypeUtilities.cpp:258: warning: invalid access to non-stati
OpenTypeUtilities.cpp:258: warning: (perhaps the ‘offsetof’ mac
OpenTypeUtilities.cpp:311: error: ‘memcmp’ was not declared in 
make: *** [OpenTypeUtilities.o] Error 1


I will attempt to compile on a 32bit machine and see what happens.


Original issue reported on code.google.com by [email protected] on 16 Apr 2009 at 9:18

doesn't work for some fonts

It doesn't seem to work with all fonts. For example the Hancock font
(http://www.searchfreefonts.com/free/hancock.htm).

When I try to convert it, I get "unknown error parsing input font,
Success". It creates the output file (sometimes), but it is always empty

I'm using the latest version (0.0.2-2), and I get the same problem in
Windows and on multiple Linux machines.

I've even tried to change the font embeddability using this utility
http://www.microsoft.com/typography/property/fpedit.htm, but it doesn't help.

(other fonts work fine)

Original issue reported on code.google.com by [email protected] on 26 Jul 2009 at 3:52

ie8 and ie7 issue

What steps will reproduce the problem?
1. the eot file not working in ie 
2. how the fontface work in ie8 and ie7
3. you you please email me 

What is the expected output? What do you see instead?
default font

What version of the product are you using? On what operating system?
window7

Please provide any additional information below.
trade gothic bold condence not working in ie8 and ie7

Original issue reported on code.google.com by [email protected] on 11 May 2013 at 5:21

Attachments:

Offer pre-compiled Mac (and Linux) versions

Thanks for creating this programme, it works very well!

However, Macs don't typically have make-tools installed.
So it'd be great if you (or someone) made a pre-compiled
mac version of ttf2eot.

Many thanks in advance.

Original issue reported on code.google.com by [email protected] on 1 Jul 2009 at 9:24

can't also work for Gotham font

What steps will reproduce the problem?
i'm using this and .eot created but the fonts doesn't work at all.
especially in Internet Explorer Browsers.

What is the expected output? What do you see instead?
hope the fonts converted can works fine

What version of the product are you using? On what operating system?
using the latest version/windows xp 

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 23 Dec 2010 at 2:15

Attachments:

Wrong license statement in project page

The project page here at code.google.com says GPL v2, but the source code says 
"License: Derived from WebKit, so BSD/LGPL 2/LGPL 2.1."

Please clarify and correct the license on the project page or within the README 
file.

Thanks, Roland

Original issue reported on code.google.com by [email protected] on 2 Sep 2013 at 8:32

Genereated EOT files do not work in Windows on IE7/8

What steps will reproduce the problem?
1. Generate EOT file with ttf2eot
2. Upload font to server.
3. Create index.html and css @font-face declaration.
4. Boot up windows.
5. Check that the font you uploaded is NOT installed on your Windows OS. a.
GO TO <START MENU>-><CONTROL PANEL><APPEARANCE and PERSONALIZATION><FONTS>.
b.  Look for the font you placed on your website.
6.  Navigate to page.  Font should be rendered in the font included in the
.eot file.  It is not.

What is the expected output? What do you see instead?
EOT file should render as it does on Firefox 3.5 and as it does with WEFT
generated EOT files in IE.

What version of the product are you using? On what operating system?
ttf2eot 0.0.2.2/Ubuntu 9.04/Jaunty Jackalope

Please provide any additional information below.
HERE IS A LINK TO HOW IT RENDERS.
http://jack.clearchannel.com/DEV/fontsTest/ttf2eot/index.html?dontcahceme=1
IN HEADERS stuff after "/" shows eot file generation method.

GiddyupStd.eot (file genereated from ttf2eot) created after converting otf
to ttf using FontForge.



Original issue reported on code.google.com by [email protected] on 23 Jul 2009 at 4:55

Compiling under Mac Os X 10.5.7

What steps will reproduce the problem?
1. make

What is the expected output? What do you see instead?
Instead of compiling I get the following errors:
g++    -c -o OpenTypeUtilities.o OpenTypeUtilities.cpp
OpenTypeUtilities.cpp: In function ‘bool getEOTHeader(unsigned char*, size_t, 
std::vector<uint8_t, 
std::allocator<uint8_t> >&, size_t&, size_t&, size_t&)’:
OpenTypeUtilities.cpp:197: warning: invalid access to non-static data member 
‘sfntHeader::tables’ of NULL object
OpenTypeUtilities.cpp:197: warning: (perhaps the ‘offsetof’ macro was used 
incorrectly)
OpenTypeUtilities.cpp:202: warning: invalid access to non-static data member 
‘sfntHeader::tables’ of NULL object
OpenTypeUtilities.cpp:202: warning: (perhaps the ‘offsetof’ macro was used 
incorrectly)
OpenTypeUtilities.cpp:259: warning: invalid access to non-static data member 
‘nameTable::nameRecords’ of NULL 
object
OpenTypeUtilities.cpp:259: warning: (perhaps the ‘offsetof’ macro was used 
incorrectly)
OpenTypeUtilities.cpp:265: warning: invalid access to non-static data member 
‘nameTable::nameRecords’ of NULL 
object
OpenTypeUtilities.cpp:265: warning: (perhaps the ‘offsetof’ macro was used 
incorrectly)
g++    -c -o ttf2eot.o ttf2eot.cpp
g++ -o ttf2eot OpenTypeUtilities.o ttf2eot.o

What version of the product are you using? On what operating system?
ttf2eot: 0.0.2-2
Mac OS X: 10.5.7
Compiler: i686-apple-darwin9-g++-4.0.1

Original issue reported on code.google.com by pedro%[email protected] on 28 Jun 2009 at 10:53

unknown error parsing input font, m

I compiled ttf2eot with mingw which comes with Qt 2009.02 and it did not 
gave any warning.

when I try to convert some ttf to eot in my system it start giving same 
error
"unknown error parsing input font, m"

I tried verdana.ttf arial.ttf and papyrus.ttf. what can be the cause ?

Original issue reported on code.google.com by ozkan%[email protected] on 27 Apr 2009 at 4:54

Need stddef.h for offsetof

What steps will reproduce the problem?
1. try to build using gcc 4.6

What is the expected output? What do you see instead?
Here is a failed build.
% make
g++    -c -o OpenTypeUtilities.o OpenTypeUtilities.cpp
OpenTypeUtilities.cpp:227:18: warning: multi-character character constant 
[-Wmultichar]
OpenTypeUtilities.cpp:247:18: warning: multi-character character constant 
[-Wmultichar]
OpenTypeUtilities.cpp:257:18: warning: multi-character character constant 
[-Wmultichar]
OpenTypeUtilities.cpp: In function ‘bool getEOTHeader(unsigned char*, size_t, 
std::vector<unsigned char>&, size_t&, size_t&, size_t&)’:
OpenTypeUtilities.cpp:197:41: error: expected primary-expression before ‘,’ 
token
OpenTypeUtilities.cpp:197:43: error: ‘tables’ was not declared in this scope
OpenTypeUtilities.cpp:197:49: error: ‘offsetof’ was not declared in this 
scope
OpenTypeUtilities.cpp:202:41: error: expected primary-expression before ‘,’ 
token
OpenTypeUtilities.cpp:202:43: error: ‘tables’ was not declared in this scope
OpenTypeUtilities.cpp:202:49: error: ‘offsetof’ was not declared in this 
scope
OpenTypeUtilities.cpp:259:70: error: expected primary-expression before ‘,’ 
token
OpenTypeUtilities.cpp:259:72: error: ‘nameRecords’ was not declared in this 
scope
OpenTypeUtilities.cpp:259:83: error: ‘offsetof’ was not declared in this 
scope
OpenTypeUtilities.cpp:265:74: error: expected primary-expression before ‘,’ 
token
OpenTypeUtilities.cpp:265:76: error: ‘nameRecords’ was not declared in this 
scope
OpenTypeUtilities.cpp:265:87: error: ‘offsetof’ was not declared in this 
scope
make: *** [OpenTypeUtilities.o] Error 1

What version of the product are you using? On what operating system?
ttf2eot-0.0.2-2
Ubuntu 10.10
gcc 4.6.0

Please provide any additional information below.
To fix #include <stddef.h> explicitly in OpenTypeUtilities.cpp.

Original issue reported on code.google.com by [email protected] on 4 May 2011 at 2:36

unknown error parsing input font

What steps will reproduce the problem?
1.Downloaded ttf2eot, i created exe file using visual c++, if i run that
exe the output was "unknown error parsing input font"  rather than eot. 
2.I am using visual studio 2005 and operating system is windows 
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 Apr 2009 at 10:15

Attachments:

Generated EOT files aren't working in IE browsers...

Okay, so my fonts work fine in ALL browsers except IE. I am guessing this has 
something to do with the .eot files I'm using. I used the font convertor here 
http://www.kirsle.net/wizards/ttf2eot.cgi and used the .eot files it gave me 
but still no luck

You can see my style sheet here...

http://www.1stchoicerecyclinghvac.com/css/style.css

Oh, and here is the website in question… http://www.1stchoicerecyclinghvac.com

The site is by no means done but if you're using IE you will see the fonts 
don't show up at all and I can't figure out for the life of me why.

I've attached the fonts I used to convert to EOT files.

Original issue reported on code.google.com by [email protected] on 16 Mar 2011 at 10:17

Attachments:

in debian unstable

I wanted to compile the project and see how it works. I downloaded the
tar.gz then open it and gave make command. here is the output:

mascix@mascix-debian:~/ttf2eot-0.0.1-alpha$ make
make: Warning: File `Makefile' has modification time 1.9e+04 s in the future
g++    -c -o OpenTypeUtilities.o OpenTypeUtilities.cpp
OpenTypeUtilities.cpp:218:18: warning: multi-character character constant
OpenTypeUtilities.cpp:238:18: warning: multi-character character constant
OpenTypeUtilities.cpp:248:18: warning: multi-character character constant
In file included from OpenTypeUtilities.cpp:30:
OpenTypeUtilities.h:33: error: ‘uint8_t’ was not declared in this scope
OpenTypeUtilities.h:33: error: template argument 1 is invalid
OpenTypeUtilities.h:33: error: template argument 2 is invalid
OpenTypeUtilities.cpp:56: error: ‘uint8_t’ does not name a type
OpenTypeUtilities.cpp:57: error: ‘uint8_t’ does not name a type
OpenTypeUtilities.cpp:58: error: ‘uint8_t’ does not name a type
OpenTypeUtilities.cpp:102: error: ‘uint8_t’ does not name a type
OpenTypeUtilities.cpp:104: error: ‘uint8_t’ does not name a type
OpenTypeUtilities.cpp:159: error: ‘uint8_t’ was not declared in this scope
OpenTypeUtilities.cpp:159: error: template argument 1 is invalid
OpenTypeUtilities.cpp:159: error: template argument 2 is invalid
OpenTypeUtilities.cpp: In function ‘void
appendBigEndianStringToEOTHeader(int&, const BigEndianUShort*, short
unsigned int)’:
OpenTypeUtilities.cpp:161: error: request for member ‘size’ in 
‘eotHeader’,
which is of non-class type ‘int’
OpenTypeUtilities.cpp:162: error: request for member ‘resize’ in
‘eotHeader’, which is of non-class type ‘int’
OpenTypeUtilities.cpp:163: error: request for member ‘data’ in 
‘eotHeader’,
which is of non-class type ‘int’
OpenTypeUtilities.cpp: At global scope:
OpenTypeUtilities.cpp:172: error: ‘uint8_t’ was not declared in this scope
OpenTypeUtilities.cpp:172: error: template argument 1 is invalid
OpenTypeUtilities.cpp:172: error: template argument 2 is invalid
OpenTypeUtilities.cpp: In function ‘bool getEOTHeader(unsigned char*,
size_t, int&, size_t&, size_t&, size_t&)’:
OpenTypeUtilities.cpp:181: error: request for member ‘resize’ in
‘eotHeader’, which is of non-class type ‘int’
OpenTypeUtilities.cpp:182: error: request for member ‘data’ in 
‘eotHeader’,
which is of non-class type ‘int’
OpenTypeUtilities.cpp:188: warning: invalid access to non-static data
member ‘sfntHeader::tables’ of NULL object
OpenTypeUtilities.cpp:188: warning: (perhaps the ‘offsetof’ macro was used
incorrectly)
OpenTypeUtilities.cpp:193: warning: invalid access to non-static data
member ‘sfntHeader::tables’ of NULL object
OpenTypeUtilities.cpp:193: warning: (perhaps the ‘offsetof’ macro was used
incorrectly)
OpenTypeUtilities.cpp:226: error: ‘struct EOTPrefix’ has no member named
‘fontPANOSE’
OpenTypeUtilities.cpp:226: error: ‘const struct OS2Table’ has no member
named ‘panose’
OpenTypeUtilities.cpp:227: error: ‘struct EOTPrefix’ has no member named
‘italic’
OpenTypeUtilities.cpp:250: warning: invalid access to non-static data
member ‘nameTable::nameRecords’ of NULL object
OpenTypeUtilities.cpp:250: warning: (perhaps the ‘offsetof’ macro was used
incorrectly)
OpenTypeUtilities.cpp:256: warning: invalid access to non-static data
member ‘nameTable::nameRecords’ of NULL object
OpenTypeUtilities.cpp:256: warning: (perhaps the ‘offsetof’ macro was used
incorrectly)
OpenTypeUtilities.cpp:296: error: ‘struct EOTPrefix’ has no member named
‘charset’
OpenTypeUtilities.cpp:309: error: ‘memcmp’ was not declared in this scope
OpenTypeUtilities.cpp:318: error: request for member ‘push_back’ in
‘eotHeader’, which is of non-class type ‘int’
OpenTypeUtilities.cpp:319: error: request for member ‘push_back’ in
‘eotHeader’, which is of non-class type ‘int’
OpenTypeUtilities.cpp:321: error: request for member ‘size’ in 
‘eotHeader’,
which is of non-class type ‘int’
make: *** [OpenTypeUtilities.o] Error 1


I dont know how to solve it.

Original issue reported on code.google.com by ozkan.pakdil on 29 Mar 2009 at 1:33

Linux version won't compile

Hi there,
I just downloaded the tool to convert some fonts and found out that <cstddef> 
import in OpenTypeUtilities.cpp was missing, causing the compilation to fail.

What steps will reproduce the problem?
1. Run make
2. See compiler output

I'm attaching the corrected file. I used g++ version 4.6.1 under Ubuntu 11.10.

Original issue reported on code.google.com by [email protected] on 28 Sep 2012 at 2:18

Attachments:

version numbering is weird ?!?

0.0.2-2 might have been 0.0.3, no ?
that's easier to follow when doing a debian package...

Original issue reported on code.google.com by holisme on 10 Sep 2009 at 3:14

Internet Explorer will not recognize my font.

I am trying to have custom made social media icons on my webpage. I am using 
socicon font. My code works for all browsers except for IE. I even tried the 
?#ie fix and it still didn't work. I have also read that I need to put the Full 
Name in order for IE to recognize the font. I believe that socicon is the full 
name, but when I type that in Safari doesn't recognize the font.

Here is my code:

@font-face {
    font-family: 'si';
    src: url('http://cdn2.hubspot.net/hub/181041/file-1984135345-eot/Font/socicon.eot');
    src: url('http://cdn2.hubspot.net/hub/181041/file-1984135345-eot/Font/socicon.eot?#iefix') format('embedded-opentype'),
          url('http://cdn2.hubspot.net/hub/181041/file-1984135350-woff/Font/socicon.woff') format('woff'),
          url('http://cdn2.hubspot.net/hub/181041/file-1981225289-ttf/Font/socicon.ttf') format('truetype'),
          url('http://cdn2.hubspot.net/hub/181041/file-1979860473-svg/Font/socicon.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

It is also odd that when I tried to erase this line:

src: 
url('http://cdn2.hubspot.net/hub/181041/file-1984135345-eot/Font/socicon.eot?#ie
fix') format('embedded-opentype'),

Safari also no longer produced the socicon font. I didn't think Safari read 
.eot files.

Thanks,

Megan

Original issue reported on code.google.com by [email protected] on 31 Oct 2014 at 1:11

Creates 0-byte files

What steps will reproduce the problem?
1. Trying to create an .eot-file

What is the expected output? What do you see instead?
I expect to get a working .eot-file. Instead I get a 0-byte file.

What version of the product are you using? On what operating system?
I'm using 0.2.2 on Mac OS X 10.5.7

Please provide any additional information below:
I tried this with my own compiled executable and with the one provided 
somewhere in the 
comments.

Original issue reported on code.google.com by [email protected] on 3 Aug 2009 at 7:36

Doesn't work if previously converted from OTF

What steps will reproduce the problem?
1. First I must convert the OTF font to TTF using FontForge.
2. Then I convert the TTF to EOT
3. I add the correct CSS and the font won't display on Internet Explorer.
4. If I try a font that is TTF from start (so not necessary to convert) it
works.

What is the expected output? What do you see instead?
Unable to see the font in Internet Explorer. I see the second font option
in Font-family declaration.

What version of the product are you using? On what operating system?
Did the conversion with Linux Fedora 11 x86_64
Checked with Internet Explorer 7 and 8 using VirtualBox

Original issue reported on code.google.com by [email protected] on 3 Nov 2009 at 6:41

Make fails on Ubuntu 11.10

What steps will reproduce the problem?
1. run make
2.
3.

What is the expected output? What do you see instead?

No binary is created

Make Output
    g++    -c -o OpenTypeUtilities.o OpenTypeUtilities.cpp
    OpenTypeUtilities.cpp:221:18: warning: multi-character character constant [-Wmultichar]
    OpenTypeUtilities.cpp:241:18: warning: multi-character character constant [-Wmultichar]
    OpenTypeUtilities.cpp:251:18: warning: multi-character character constant [-Wmultichar]
    OpenTypeUtilities.cpp: In function ‘bool getEOTHeader(unsigned char*, size_t, std::vector<unsigned char>&, size_t&, size_t&, size_t&)’:
    OpenTypeUtilities.cpp:191:41: error: expected primary-expression before ‘,’ token
    OpenTypeUtilities.cpp:191:43: error: ‘tables’ was not declared in this scope
    OpenTypeUtilities.cpp:191:49: error: ‘offsetof’ was not declared in this scope
    OpenTypeUtilities.cpp:196:41: error: expected primary-expression before ‘,’ token
    OpenTypeUtilities.cpp:196:43: error: ‘tables’ was not declared in this scope
    OpenTypeUtilities.cpp:196:49: error: ‘offsetof’ was not declared in this scope
    OpenTypeUtilities.cpp:253:70: error: expected primary-expression before ‘,’ token
    OpenTypeUtilities.cpp:253:72: error: ‘nameRecords’ was not declared in this scope
    OpenTypeUtilities.cpp:253:83: error: ‘offsetof’ was not declared in this scope
    OpenTypeUtilities.cpp:259:74: error: expected primary-expression before ‘,’ token
    OpenTypeUtilities.cpp:259:76: error: ‘nameRecords’ was not declared in this scope
    OpenTypeUtilities.cpp:259:87: error: ‘offsetof’ was not declared in this scope
    make: *** [OpenTypeUtilities.o] Error 1

What version of the product are you using? On what operating system?
tried version 0.0.2-1 and 0.0.2-2 on ubuntu 11.10 

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 30 Nov 2011 at 11:25

License

The website says the code is under GPL, but the README says it is BSD/LGPL. 
This should be fixed.

Original issue reported on code.google.com by [email protected] on 1 Apr 2014 at 2:54

unknown error parsing input font on PowerPC Macs

What steps will reproduce the problem?
1. Install ttf2eot on a PowerPC Mac (for example by installing Xcode and 
MacPorts, editing the ttf2eot 
portfile to remove the PowerPC check by typing "sudo port edit ttf2eot" and 
removing the "pre-fetch" 
block, and then typing "sudo port install ttf2eot")
2. Try to convert a font using ttf2eot

What is the expected output? What do you see instead?

Expected: font is converted
Actual: error message: unknown error parsing input font, m

What version of the product are you using? On what operating system?

0.0.2-2, on Mac OS X 10.5.8 or 10.4.11 on a Power Mac G4.

Please provide any additional information below.

Same version works fine on same OS versions on MacBook Pro Intel Core 2 Duo, so 
ttf2eot seems to be 
missing some endian conversions. I see many occurrences of the string "Endian" 
in OpenTypeUtilities.cpp 
but none in ttf2eot.cpp.

Original issue reported on code.google.com by [email protected] on 23 Aug 2009 at 10:24

%m in sprintf is only available with GNU libc

What steps will reproduce the problem?
1. On Mac OS X, do anything with ttf2eot that causes an error message, for 
example "ttf2eot 
nonexistentfile"

What is the expected output? What do you see instead?

Expected: could not open input file nonexistentfile
Actual: could not open input file nonexistentfile, m

What version of the product are you using? On what operating system?

0.0.2-2 on Mac OS X (tested 10.4.11 and 10.5.8)

Please provide any additional information below.

The sprintf commands in ttf2eot use "%m" which I see is a GNU libc extension:

http://www.gnu.org/s/libc/manual/html_node/Table-of-Output-Conversions.html

Mac OS X does not use GNU libc and "%m" is not available in sprintf on Mac OS X.

Original issue reported on code.google.com by [email protected] on 23 Aug 2009 at 10:00

Add version 00020002

Hi,

Sorry to write this here, but i can't find where i can send you a message.

I want to implement version 00020002 of eot file format in your project 
for a personnal use and after a open releases for our community (and 
other) at eathena.ws

But i'm not familliar to C++ and i don't understand some part of your work.

If you want to contact me, just answer in this thread, if not, just delete 
this issue.

Sorry for my bad English, i'm French.

Myst~

Original issue reported on code.google.com by [email protected] on 26 May 2009 at 6:07

EOT version of font not working in IE 7, 8 or 9

What steps will reproduce the problem?

1. Go here and you will NOT see the correct font: President via presdntn.eot: 
www.grandlodgeaum.org/new-site/


What is the expected output? What do you see instead?
- Expected to President Font on index page, instead seeing some replacement 
font.

What version of the product are you using? On what operating system?
- Trying to see it in IE 7, 8 and 9 running in XP and IE 7 in VMWare.

Please provide any additional information below.

Attached are the ttf font I tried to convert and the resulting which is not 
working....

Original issue reported on code.google.com by [email protected] on 2 Apr 2011 at 7:57

Attachments:

add support for root strings

I've been told that when licensed, some fonts include requirements that
root strings have to be set.

I should add support for root strings so that ttf2eot users can abide by
these terms.

(Note that root strings provide no security, and are trivially
removed/modified/etc)

Original issue reported on code.google.com by taviso on 3 Jun 2009 at 9:09

Converted fonts look very aliased, not correct.

What steps will reproduce the problem?
1. On Mac OS X, Pick a ttf font
2. run: ttf2eot font.ttf > font.eot
3. observe aliased font

What is the expected output?
See a properly anti-aliased font

What do you see instead?
A horribly aliased font

What version of the product are you using? On what operating system?
0.0.2

Please provide any additional information below.
Running on Mac OS X Snow Leopard 10.6.7 compiled with XCode 4

Original issue reported on code.google.com by [email protected] on 22 May 2011 at 1:01

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.