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:
parent
e1b74b7358
commit
cf6ea775a4
2
modules/canvaskit/npm_build/types/index.d.ts
vendored
2
modules/canvaskit/npm_build/types/index.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user