mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Bug 910754 - skia-npapi's anp_getFontPath() function doesn't work with upstream Skia anymore, and it looks like we don't need it to be implemented anyway r=snorp
This commit is contained in:
parent
2e2e65e7e1
commit
2aa5ad0e61
@ -61,6 +61,9 @@ static ANPTypefaceStyle anp_getStyle(const ANPTypeface* tf) {
|
||||
static int32_t anp_getFontPath(const ANPTypeface* tf, char fileName[],
|
||||
int32_t length, int32_t* index) {
|
||||
SkStream* stream = tf->openStream(index);
|
||||
|
||||
return 0;
|
||||
/*
|
||||
if (stream->getFileName()) {
|
||||
strcpy(fileName, stream->getFileName());
|
||||
} else {
|
||||
@ -68,6 +71,7 @@ static int32_t anp_getFontPath(const ANPTypeface* tf, char fileName[],
|
||||
}
|
||||
|
||||
return strlen(fileName);
|
||||
*/
|
||||
}
|
||||
|
||||
static const char* gFontDir;
|
||||
|
Loading…
Reference in New Issue
Block a user