[Solved] Drop Cap won’t properly size
[Solved] Drop Cap won’t properly size
I usually write from templates. For this specific one, I have an initial using EB Garamond Initial. In the template, it renders perfectly fine; in the output file, however, it is cut off for some reason, apparently being rendered as a three-line sized letter cut to the (desired) two-line height. What could cause this?
Sample file: Dummy document.odt
Sample template:
Sample file: Dummy document.odt
Sample template:
- Attachments
-
- Dømebrev.odt
- Anonymised sample file
- (47.85 KiB) Downloaded 133 times
Last edited by MrProgrammer on Sat Aug 31, 2024 9:13 pm, edited 4 times in total.
Reason: Add "Drop Cap" to topic subject
Reason: Add "Drop Cap" to topic subject
LibreOffice 7.6.7.2 (X86_64) on Windows 10.0 (19045)
Re: Initials won’t properly size
I don't see the F cut off in OpenOffice. Does this look right?
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Re: Initials won’t properly size
I managed to be silly and upload the original document; sorry about that. (Please delete it; it contains some things that should not be spread.) Here is a copy of the dummy document with embedded fonts. The template from above applies to this one.
Last edited by CannedMan on Thu Aug 29, 2024 2:46 pm, edited 1 time in total.
LibreOffice 7.6.7.2 (X86_64) on Windows 10.0 (19045)
Re: Initials won’t properly size
Here is what I see.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Re: Initials won’t properly size
Works for me, but I don't have your decorative font. Maybe you have that problem because of the line spacing set to Fixed instead of Single (which works in most cases if you don't insert formulas and the like in the body text) and a font size for the drop cap that doesn't fit in that space. Remember that the actual height of a letter with a certain font size can differ per font. Play with those settings.
LibreOffice 25.8.4.2 on Ubuntu Linux
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
Re: Initials won’t properly size
Edit your first post and delete the upload yourself replacing it with a respective note.
On Windows 10: LibreOffice 25.8.4 and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
---
Lupp from München
Re: Initials won’t properly size
I checked that, but the fixed line height is set in the template, and as the image shows, it works perfectly well in the template. I tried changing to e.g. 1.15 lines line heigh, but that changed nothing as well:floris v wrote: ↑Thu Aug 29, 2024 9:41 am Works for me, but I don't have your decorative font. Maybe you have that problem because of the line spacing set to Fixed instead of Single (which works in most cases if you don't insert formulas and the like in the body text) and a font size for the drop cap that doesn't fit in that space. Remember that the actual height of a letter with a certain font size can differ per font. Play with those settings.
Did the decorative font get included in the new document? I embedded the fonts in it. What boggles me, is that it works perfectly well in the template, but not in the ‘real’ file. And yes, when I use a different font, including the regular EB Garamonds (EB Garamond, EB Garamond Medium, SemiBold and ExtraBold), it also renders fine in the real file. How come then it works well in the template, but not when applied?
I have now added the link to the correct document in the original post as well.
LibreOffice 7.6.7.2 (X86_64) on Windows 10.0 (19045)
Re: Initials won’t properly size
There is a report here, with some illustrations, of problems with EB Garamond Initials
https://tex.stackexchange.com/questions ... d-initials
Perhaps there may be some help in it.
https://tex.stackexchange.com/questions ... d-initials
Perhaps there may be some help in it.
Apache OpenOffice 4.1.16 on Xubuntu 24.04.4 LTS
Re: Initials won’t properly size
It might be related to the value of a configuration parameter called DropCapPunctuationCannedMan wrote: ↑Thu Aug 29, 2024 12:38 am I usually write from templates. For this specific one, I have an initial using EB Garamond Initial. In the template, it renders perfectly fine; in the output file, however, it is cut off for some reason, apparently being rendered as a three-line sized letter cut to the (desired) two-line height. What could cause this?
Unpack the template file "Dummy template.ott" and open the internal file "settings.xml". The entry in question reads:
Code: Select all
<config:config-item config:name="DropCapPunctuation" config:type="boolean">false</config:config-item>
Code: Select all
<config:config-item config:name="DropCapPunctuation" config:type="boolean">true</config:config-item>
I did a test with 7.6.7.2 :
⠀ ⠀
⠀
There is one LO Bugzilla report on similar (?) issue [2].
-----------------
Ref:
[1]
LO Gerrit: 138356 (tdf#150200 tdf#150438 sw, DOCX: fix drop cap dash, quotation etc.)
[2]
LO Bugzilla: Bug 160488 ("VIEWING - Characters extending below the baseline are cut off as drop caps")
OpenOffice 1.1.5 – 4.1.16
LibreOffice 3.3.0.4 – 26.2
Windows 7,10,11 64-bit
LibreOffice 3.3.0.4 – 26.2
Windows 7,10,11 64-bit
Re: Initials won’t properly size
That is highly informative. Thank you!
LibreOffice 7.6.7.2 (X86_64) on Windows 10.0 (19045)
Re: Initials won’t properly size
That is highly informative. Thanks!RoryOF wrote: ↑Thu Aug 29, 2024 5:19 pm There is a report here, with some illustrations, of problems with EB Garamond Initials
https://tex.stackexchange.com/questions ... d-initials
Perhaps there may be some help in it.
This, presumably, is the closest LO editing gets to TeX. I have begun messing around in the XML files every now and then. Thanks for this detailed information; I will give it a try.cwolan wrote: ↑Fri Aug 30, 2024 6:39 pm [ABRIDGED]
It might be related to the value of a configuration parameter called DropCapPunctuation
Unpack the template file "Dummy template.ott" and open the internal file "settings.xml". The entry in question reads:On the other hand, DropCapPunctuation stored in two other files ("Dømebrev.odt" and "Dummy letter.odt") is set to true.Code: Select all
<config:config-item config:name="DropCapPunctuation" config:type="boolean">false</config:config-item>
AFAICT DropCapPunctuation was introduced in LO version 7.5 [1].Code: Select all
<config:config-item config:name="DropCapPunctuation" config:type="boolean">true</config:config-item>
I did a test with 7.6.7.2 :
LibreOffice 7.6.7.2 (X86_64) on Windows 10.0 (19045)
Re: [Solved] Drop Cap won’t properly size
In my limited investigation I observe that EG Garamond Initials only cover a limited number of capitals. For information, have you discovered a full set of capitals in that (or close) style?
Apache OpenOffice 4.1.16 on Xubuntu 24.04.4 LTS
Re: [Solved] Drop Cap won’t properly size
A very belated reply: I unfortunately have not. The latest information on Google Fonts, is that it is updated on GitHub, and when browsing there, I get the following: When opening that page, it seems to me there is no info, but I have never taken the time to get to know GitHub, so I am probably missing something.
LibreOffice 7.6.7.2 (X86_64) on Windows 10.0 (19045)
Re: [Solved] Drop Cap won’t properly size
You're right, they are not there.
They are here: https://github.com/georgd/EB-Garamond-I ... ree/master
Downloads
Type URL
Nightly build https://github.com/georgd/EB-Garamond/r ... ramond.zip
Releases https://bitbucket.org/georgd/eb-garamond/downloads/
They are here: https://github.com/georgd/EB-Garamond-I ... ree/master
Downloads
Type URL
Nightly build https://github.com/georgd/EB-Garamond/r ... ramond.zip
Releases https://bitbucket.org/georgd/eb-garamond/downloads/
____________
DiGro
AOO 4.1.16 (Dutch) on Windows 11 64-bit. Scanned with Ziggo Safe Online (F-Secure)
DiGro
AOO 4.1.16 (Dutch) on Windows 11 64-bit. Scanned with Ziggo Safe Online (F-Secure)