commit | 9417c1c0d2b005eadf0c087ca695121a6200d0f7 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Wed Apr 20 17:21:23 2011 -0400 |
committer | Behdad Esfahbod <behdad@behdad.org> | Wed Apr 20 17:21:23 2011 -0400 |
tree | 2d820165e712bb8088fa94acf5047b752546dca1 | |
parent | c035812feb0d385a9e8c334631738e4915912c71 [diff] |
[API] Make hb_face_reference_table() return empty blob instead of NULL The idea here is that: - Like pretty much all other API in harfbuzz, user does not have to check for NULL. - In any caller code, the case of missing table should be handled exactly the same way that a too-short table is handled. Turning a non-existent talbe into a table of size 0 makes the user code safer.