Bug 160511 - "box around character" uses too much padding above (matter of taste)
Summary: "box around character" uses too much padding above (matter of taste)
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.5.9.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-03 19:14 UTC by Ulrich Windl
Modified: 2024-04-05 22:36 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Magnified screenshot with additional guide lines added (64.41 KB, image/jpeg)
2024-04-03 19:14 UTC, Ulrich Windl
Details
Sample image taken from https://www.high-logic.com/font-editor/fontcreator/tutorials/font-metrics-vertical-line-spacing (58.43 KB, image/webp)
2024-04-03 19:15 UTC, Ulrich Windl
Details
Real-life use of box around text (9.67 KB, image/png)
2024-04-03 19:18 UTC, Ulrich Windl
Details
Simple sample document (11.40 KB, application/vnd.oasis.opendocument.text)
2024-04-04 21:29 UTC, Ulrich Windl
Details
Screenshot showing boxes around text for some variants (84.73 KB, image/jpeg)
2024-04-05 22:36 UTC, Ulrich Windl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Windl 2024-04-03 19:14:39 UTC
Created attachment 193467 [details]
Magnified screenshot with additional guide lines added

Trying to create a "poor man's keyboard font" by putting a thin border around characters with 0.05cm distance, the border looks quite "uneven" around the characters.

The screen shot is magnified to see the individual millimeters (and allows guessing the 0.5mm). IMHO there is no logical explanation for the extra space above the "ascender". The boxes do not "look good". Maybe some extra option is needed to ignore the metric limits when they are not used.
Comment 1 Ulrich Windl 2024-04-03 19:15:44 UTC
Created attachment 193468 [details]
Sample image taken from https://www.high-logic.com/font-editor/fontcreator/tutorials/font-metrics-vertical-line-spacing

Illustrating the metrics that Writer might use to compute the boxes around.
Comment 2 Ulrich Windl 2024-04-03 19:18:13 UTC
Created attachment 193469 [details]
Real-life use of box around text

The boxes around the text do not look nice because of the unequal distribution of space.
Comment 3 m_a_riosv 2024-04-03 21:06:43 UTC
Please attach a sample file, reduce the size as much as possible without private information, and paste the information in Menu/Help/About LibreOffice, there is a copy icon.
Comment 4 Ulrich Windl 2024-04-04 21:29:23 UTC
Created attachment 193496 [details]
Simple sample document

(In reply to m_a_riosv from comment #3)
Sample file created and attached. Writer version is:

Version: 7.6.6.3 (x86) / LibreOffice Community
Build ID: d97b2716a9a4a2ce1391dee1765565ea469b0ae7
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded
Comment 5 m_a_riosv 2024-04-04 23:52:01 UTC
Can't you solve it, by disable the synchronization on border's padding?, set up them individually.
Comment 6 Ulrich Windl 2024-04-05 22:36:08 UTC
Created attachment 193529 [details]
Screenshot showing boxes around text for some variants

(In reply to m_a_riosv from comment #5)
> Can't you solve it, by disable the synchronization on border's padding?, set
> up them individually.

When using *one* style for all it would depend on the actual characters being used.