Clean text rendering in editor.
This commit is contained in:
parent
290b64e230
commit
f16dd7c0d9
45 changed files with 59 additions and 60 deletions
|
@ -42,8 +42,8 @@ PdfPage::PdfPage(PdfPageTree* parent)
|
|||
|
||||
std::string pageContent = "BT\n";
|
||||
pageContent += "/F1 24 Tf\n";
|
||||
pageContent += "100 100 Td\n";
|
||||
pageContent += "(Hello World) Tj\n";
|
||||
pageContent += "100 700 Td\n";
|
||||
pageContent += "(Hello \nWorld) Tj\n";
|
||||
pageContent += "ET";
|
||||
|
||||
mContent->setContent(pageContent);
|
||||
|
|
|
@ -17,6 +17,5 @@ public:
|
|||
void updateDictionary() override;
|
||||
|
||||
private:
|
||||
|
||||
PdfPagePtr mRootPage;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue