mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-02-10 18:15:19 +08:00
[pdf] Fix bug #79955
This commit is contained in:
committed by
Ilya Kirillov
parent
a616a081f8
commit
fab35ec968
@ -8249,7 +8249,7 @@ ParaRun.prototype.Apply_TextPr = function(TextPr, IncFontSize, ApplyToAll)
|
||||
}
|
||||
|
||||
function checkRunPdf(run, textPr) {
|
||||
if (!!run.Pr.Bold !== !!textPr.Bold || !!run.Pr.Italic !== !!textPr.Italic || run.Pr.GetFontFamily() !== textPr.GetFontFamily())
|
||||
if (!!run.Pr.Bold !== !!textPr.Bold || !!run.Pr.Italic !== !!textPr.Italic || (textPr.GetFontFamily() && run.Pr.GetFontFamily() != textPr.GetFontFamily()))
|
||||
{
|
||||
for (let i = 0; i < run.Content.length; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user