Bug 387687 - font clipping
Summary: font clipping
Status: RESOLVED WORKSFORME
Alias: None
Product: calligrawords
Classification: Applications
Component: general (show other bugs)
Version: 3.0.0
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-07 21:03 UTC by Eben Sorkin
Modified: 2022-12-10 05:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
fonts to test with (39.88 KB, application/vnd.oasis.opendocument.formula-template)
2017-12-07 21:07 UTC, Eben Sorkin
Details
Testcase for bug - diacritics sometimes hidden (2.82 KB, image/png)
2017-12-10 23:34 UTC, Ivan S
Details
attachment-12014-0.html (2.63 KB, text/html)
2017-12-11 03:35 UTC, Eben Sorkin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eben Sorkin 2017-12-07 21:03:44 UTC
Fonts using the industry standard format for setting vertical metrics in fonts clip in Calligrawords. This does not happen in Inkscape for instance. The standard is one in which Hhea and Typo tables sum to the EM size of the font (usually 1000 or 2048 units) and the Win values indicate how far not to clip. Calligrawords must be using either the typo or the hhea values for both linespacing and clipping. This is unusual and has a bad impact for usings of eastern european, Asian, African, Indic, South Asian and Middle eastern scripts.
Comment 1 Eben Sorkin 2017-12-07 21:07:26 UTC
Created attachment 109248 [details]
fonts to test with

This font has diacritics above the letter A and below it to use to check for clipping.
Comment 2 Ivan S 2017-12-10 23:34:05 UTC
Created attachment 109305 [details]
Testcase for bug - diacritics sometimes hidden

(In reply to Eben Sorkin from comment #0)
> Fonts using the industry standard format for setting vertical metrics in
> fonts clip in Calligrawords. This does not happen in Inkscape for instance.
> The standard is one in which Hhea and Typo tables sum to the EM size of the
> font (usually 1000 or 2048 units) and the Win values indicate how far not to
> clip. Calligrawords must be using either the typo or the hhea values for
> both linespacing and clipping. This is unusual and has a bad impact for
> usings of eastern european, Asian, African, Indic, South Asian and Middle
> eastern scripts.

Confirm; The bottom diacritic disappears if there is a blank newline below the line with the A. Attached: screenshot
Comment 3 Eben Sorkin 2017-12-11 03:35:17 UTC
Created attachment 109307 [details]
attachment-12014-0.html

Do you think you can switch to using the Win values for clipping and the
typo values for linespacing instead?

-e.

On Sun, Dec 10, 2017 at 6:34 PM, Ivan S <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=387687
>
> Ivan S <northivanastan@gmail.com> changed:
>
>            What    |Removed                     |Added
> ------------------------------------------------------------
> ----------------
>                  CC|                            |northivanastan@gmail.com
>
> --- Comment #2 from Ivan S <northivanastan@gmail.com> ---
> Created attachment 109305 [details]
>   --> https://bugs.kde.org/attachment.cgi?id=109305&action=edit
> Testcase for bug - diacritics sometimes hidden
>
> (In reply to Eben Sorkin from comment #0)
> > Fonts using the industry standard format for setting vertical metrics in
> > fonts clip in Calligrawords. This does not happen in Inkscape for
> instance.
> > The standard is one in which Hhea and Typo tables sum to the EM size of
> the
> > font (usually 1000 or 2048 units) and the Win values indicate how far
> not to
> > clip. Calligrawords must be using either the typo or the hhea values for
> > both linespacing and clipping. This is unusual and has a bad impact for
> > usings of eastern european, Asian, African, Indic, South Asian and Middle
> > eastern scripts.
>
> Confirm; The bottom diacritic disappears if there is a blank newline below
> the
> line with the A. Attached: screenshot
>
> --
> You are receiving this mail because:
> You reported the bug.
> You are on the CC list for the bug.
Comment 4 Justin Zobel 2022-11-10 22:32:29 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 5 Bug Janitor Service 2022-11-25 05:20:24 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2022-12-10 05:17:09 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!