Fix crash on open pdf

This commit is contained in:
Oleg Korshul
2025-10-05 21:34:06 +03:00
parent 59bd457253
commit 605e5e2c9d

View File

@ -286,6 +286,7 @@ CFile.prototype["getLinks"] = function(pageIndex)
// TEXT
CFile.prototype["getGlyphs"] = function(pageIndex)
{
let page = this.pages[pageIndex];
if (page.fonts.length > 0)
{
// waiting fonts