mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +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) {
|
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++)
|
for (let i = 0; i < run.Content.length; i++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user