Fix drawingfile, htmltoxhtml, Fb2File, HtmlFile2, PdfFile

Also checked:
Common/3dParty/html/htmltoxhtml.cpp
DesktopEditor/doctrenderer/drawingfile.h
DjVuFile
EpubFile
Fb2File
HtmlFile2/htmlfile2.cpp
PdfFile
XpsFile
This commit is contained in:
Svetlana Kulikova
2026-04-02 13:43:56 +03:00
parent 10b2b0d3d0
commit bd245cd62a
11 changed files with 20 additions and 20 deletions

View File

@ -3464,7 +3464,7 @@ bool CPdfWriter::DrawText(unsigned char* pCodes, const unsigned int& unLen, cons
return false;
// TODO should check center position, not start point
// TODO Many characters arrive here at once, and we need to draw only those outside redact areas
// TODO Many characters arrive here at once, and we need to draw only those outside Redact areas
if (SkipRedact(dX, dY))
return true;
@ -3493,7 +3493,7 @@ bool CPdfWriter::DrawTextToRenderer(const unsigned int* unGid, const unsigned in
if (m_bSplit)
return false;
// TODO should check center position, not start point
// TODO Many characters arrive here at once, and we need to draw only those outside redact areas
// TODO Many characters arrive here at once, and we need to draw only those outside Redact areas
if (SkipRedact(dX, dY))
return true;
// TODO pdf allows creating custom font, but this should not be used to recreate a font that is prohibited for editing or embedding
@ -3512,7 +3512,7 @@ bool CPdfWriter::DrawTextToRenderer(const unsigned int* unGid, const unsigned in
bool CPdfWriter::PathCommandDrawText(unsigned int* pUnicodes, unsigned int unLen, const double& dX, const double& dY, const unsigned int* pGids)
{
// TODO should check center position, not start point
// TODO Many characters arrive here at once, and we need to draw only those outside redact areas
// TODO Many characters arrive here at once, and we need to draw only those outside Redact areas
if (SkipRedact(dX, dY))
return true;