summaryrefslogtreecommitdiffstats
path: root/libass/dwrite_c.h
Commit message (Collapse)AuthorAgeFilesLines
* directwrite: fix font collectionsGrigori Goronzy2017-06-011-0/+3
| | | | | | | | | | | | | | | | DirectWrite's FontFileStream does not actually use the data of a specific font in a collection, which was an expectation of the existing code. It simply returns a stream to the underlying file, collection or not. So we need to get the index of the font. This needs to be done lazily as this information is only available in a FontFace, which is expensive to initialize. Add a new optional font provider function for lazy initialization of the index and use it. This is similar to the check_postscript callback. Fixes libass#275. v2: fix type of returned value.
* Fix Windows buildGrigori Goronzy2015-10-291-1/+3
| | | | | | | Some parts used in fontselect weren't properly defined. v2: RAW_CFF face type was added later, so it's at the end of the enum list.
* fontselect: find fonts with PostScript outlines by PostScript nameOleg Oshmyan2015-10-231-1/+10
| | | | | | | Fonts without PostScript outlines (such as TrueType fonts) are unaffected, and their PostScript names continue to be ignored when searching for fonts. This matches the behavior of GDI and hence VSFilter.
* directwrite: change WINBOOL to BOOL.torque2015-09-171-9/+9
| | | | WINBOOL is MingW-specific.
* Rename dwrite.h, minor cleanupswm42015-08-051-0/+673
Rename dwrite.h to dwrite_c.h to make the difference between the official header and ours clearer. Also apply minor cleanups to it. Remove the patch against upstream MinGW; it's pointless now.