fix fontMgr.makeTypefaceFromData type name

fontMgr doesn't export the function named `makeTypefaceFromData`.

it has `**M**akeTypefaceFromData`.

This is an imported pull request from
https://github.com/google/skia/pull/87

GitOrigin-RevId: 7a80a1a7776d0b20810510665f6a3727100bef97
Change-Id: I02eb6a5f406d4448f61266016f9c0882eb59c871
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/445804
Reviewed-by: Kevin Lubick <kjlubick@google.com>
This commit is contained in:
Nam Se Hyun 2021-09-05 12:54:08 +00:00 committed by Kevin Lubick
parent e1b74b7358
commit cf6ea775a4

View File

@ -1768,7 +1768,7 @@ export interface FontMgr extends EmbindObject<FontMgr> {
* Create a typeface for the specified bytes and return it.
* @param fontData
*/
makeTypefaceFromData(fontData: ArrayBuffer): Typeface;
MakeTypefaceFromData(fontData: ArrayBuffer): Typeface;
}
/**