dompdf / php-font-lib

A library to read, parse, export and make subsets of different types of font files.
GNU Lesser General Public License v2.1
1.73k stars 255 forks source link

Undefined index: OS/2 #33

Closed fitoe closed 8 years ago

fitoe commented 8 years ago

when I call getTableObject("OS/2")->data["ANY_COLUM"] , it will cause this error. ps: Very thanks for your great works!

fitoe commented 8 years ago

I use this: $font->getData("OS/2","panose")[3] done.

oxygen commented 8 years ago

Did u call ::parse() first?

PhenX commented 8 years ago

@fitoe can you tell us which font did you use to have this issue please ?

fitoe commented 8 years ago

oxygens :+1: Thanks, it works.