EOT file with empty loca table - potential BUG?

Asked by goehte on 2021-04-26

Microsoft Powerpoint files contain Embedded Fonts in the EOT format:
https://docs.microsoft.com/en-us/openspecs/office_standards/ms-oi29500/ea097c57-5794-4624-b08e-017b47051b1d

But it seems the files came w/o "loca" table.
This seems also not hard requested:
https://www.w3.org/Submission/2008/SUBM-MTX-20080305/#locaTable

I run the following command line:

eot2ttf font1.fntdata test.ttf
EOT out of spec: no blank loca table found!
Unknown error: this is a bug in libeot; it does not *necessarily* indicate a corrupted font file.

The error is generated in the source file:
/src/ctf/parseCTF.c
Line 836 (warning), 844 (error):
834 if (!loca)
835 {
836 logWarning("EOT out of spec: no blank loca table found!\n");
837 result = addTable(*out, "loca", &loca);
838 if (result != EOT_SUCCESS)
839 {
840 return result;
841 }
842 if (!loca)
843 {
844 return EOT_LOGIC_ERROR;
845 }
846 }

I'm not a programming guru so I need some support to understand the error generation better.

Thanks for support in advance.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu libeot Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Bernard Stafford (bernard010) said : #1

https://packages.ubuntu.com/focal/libeot0
I would submit a bug report for libeot0 package.
Please use Apport to collect additional information that will be included on your bug report.
Terminal: [ctl +alt+t] : ubuntu-bug libeot0 will start Apport.
Otherwise your bug report will be considered incomplete.
https://wiki.ubuntu.com/Apport

Can you help with this problem?

Provide an answer of your own, or ask goehte for more information if necessary.

To post a message you must log in.