-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text with offset #58
Comments
I just noticed that the background seems to be differently scaled or aligned, too. |
My compliments on a nice set of test evidence! |
After more research I found out the following: IN the source, this has the following effect on IndentMargin and VertialIndentMargin This reveals two things:
Here is my stripped-down book attached for testing. |
…ditor (close to the buttons which choose left/right/centre justification) There is still some kind of mismatch in the text output which means that the frame height may not be enough (often because of an unexpected line wrap with respect to what we see in the editor, thus producing an extra line in the pdf). I simply can't find this bug, but I don't think the current version is any worse than the previous version with respect to existing texts. Issue bash0#58
I've spent a few hours looking at this, and have introduced handling of the margins (padding) defined for the inside of a text box, in pull request #57. |
I con confirm that it works now! Thanks |
In some circumstances the text is not always in the correct position or size. It affects ~20% of the texts in my book.
Note that I added the black boxes later after taking a screenshot.
Original
![image](https://user-images.githubusercontent.com/1554347/102352630-49ca9180-3fa8-11eb-93cb-97749b0e9ab5.png)
Converted
![image](https://user-images.githubusercontent.com/1554347/102354150-74b5e500-3faa-11eb-8fe7-1c5c451c199b.png)
Source
https://pastebin.com/XEM0Qqqi
Conversion log
https://pastebin.com/fHDtG6mz
The screenshot above is page 10.
The text was updated successfully, but these errors were encountered: