Return an instance of |Table| appropriate to *tag*, loaded from *font_file* with content of *length* starting at *offset*.
(tag, stream, offset, length)
| 391 | |
| 392 | |
| 393 | def _TableFactory(tag, stream, offset, length): |
| 394 | """ |
| 395 | Return an instance of |Table| appropriate to *tag*, loaded from |
| 396 | *font_file* with content of *length* starting at *offset*. |
| 397 | """ |
| 398 | TableClass = {"head": _HeadTable, "name": _NameTable}.get(tag, _BaseTable) |
| 399 | return TableClass(tag, stream, offset, length) |
searching dependent graphs…