Closed GoogleCodeExporter closed 8 years ago
Hi.
I'm not use if this helps, but I also tried to compline on my Ubuntu 9.04
(virtual)box and also got into some trouble.
g++ -c -o OpenTypeUtilities.o OpenTypeUtilities.cpp
OpenTypeUtilities.cpp:227:18: warning: multi-character character constant
OpenTypeUtilities.cpp:247:18: warning: multi-character character constant
OpenTypeUtilities.cpp:257:18: warning: multi-character character constant
OpenTypeUtilities.cpp: In function ‘bool getEOTHeader(unsigned char*, size_t,
std::vector<unsigned char, std::allocator<unsigned char> >&,
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
Compiler: gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)
Original comment by pedro%fa...@gtempaccount.com
on 29 Jun 2009 at 11:16
Hey, these are just warnings and can be safely ignored.
The executable produced should work correctly, I'll eventually get around to
fixing
the warnings.
Original comment by taviso
on 7 Jul 2009 at 11:50
Hi, thank you for your replay.
Unfortunately the executable doesn't work at all.
If I try to convert a font all I get is some gibberish being written to the
terminal and that's it.
I tried to convert the exact same font using the Windows (arggh!) binary and it
worked just fine.
Thank you!
Pedro Fardilha
Original comment by pedro%fa...@gtempaccount.com
on 7 Jul 2009 at 12:50
I'm having the same exact problem as Pedro. Same errors, same gibberish, same
non-
workingness.
Original comment by Cassidy....@gmail.com
on 29 Sep 2009 at 9:13
When running the utility, you need to redirect stdout to a file.
Per the README file:
"Usage:
$ ./ttf2eot < input.ttf > output.eot"
After doing the redirect, see if the generated EOT font works in IE.
Good luck!
Original comment by tommyd...@gmail.com
on 7 Jul 2010 at 6:29
Original issue reported on code.google.com by
pedro%fa...@gtempaccount.com
on 28 Jun 2009 at 10:53