Bug Hunting Session
Bug 125820 - FORMATTING: Part of letter missing with 'Vertical Text' option in Writer
Summary: FORMATTING: Part of letter missing with 'Vertical Text' option in Writer
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.4.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Font-Rendering
  Show dependency treegraph
 
Reported: 2019-06-10 08:40 UTC by Luuk
Modified: 2019-06-12 01:26 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
tweeendertig is the Dutch word for 32. (9.38 KB, application/vnd.oasis.opendocument.text)
2019-06-10 08:41 UTC, Luuk
Details
I can't reproduce it (85.36 KB, image/png)
2019-06-11 09:15 UTC, Xisco Faulí
Details
vertical Text Box dependent on font metrics (58.28 KB, image/png)
2019-06-11 14:43 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luuk 2019-06-10 08:40:10 UTC
Description:
The bottom half of a letter (i.e. g) is missing on vertical text.

Steps to Reproduce:
see attached document

Actual Results:
see attached document

Expected Results:
a 'complete' visible letter ('g')


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Luuk 2019-06-10 08:41:00 UTC
Created attachment 152073 [details]
tweeendertig is the Dutch word for 32.
Comment 2 V Stuart Foote 2019-06-10 14:54:35 UTC
Confirming on Windows 10 Home 64-bit en-US with
Version: 6.2.4.2 (x64)
Build ID: 2412653d852ce75f65fbfa83fb7e7b669a126d64
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

Version: 6.4.0.0.alpha0+ (x64)
Build ID: 87238627b025ee6aa61378667e56b1769d4460c2
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-06-09_03:04:32
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

But, I think this will end up a font metric issue. IIUC The Vertical Text box is looking for font support for 'vert' glyph rotation, those fonts provide metrics that support non-rotated glyphs. For example descenders for any of the Microsoft CJK fonts are correctly handled in the draw Vertical Text box objects.

@Khaled, Jan-Marek?
Comment 3 Xisco Faulí 2019-06-11 09:15:53 UTC
Created attachment 152094 [details]
I can't reproduce it

I can't reproduce it in

Version: 6.4.0.0.alpha0+
Build ID: ec905d131374f0860bac77c52873eed984b1966f
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk2; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

nor in

Versión: 6.2.4.2
Id. de compilación: 2412653d852ce75f65fbfa83fb7e7b669a126d64
Subprocs. CPU: 1; SO: Windows 6.1; Repres. IU: predet.; VCL: win; 
Configuración regional: es-ES (es_ES); Idioma de IU: es-ES
Calc: threaded
Comment 4 Xisco Faulí 2019-06-11 09:21:43 UTC
it also fine in

Version: 6.3.0.0.beta1+ (x86)
Build ID: 5cfac16dbd4af456a7fb6d52c8953c69a72ba2ba
CPU threads: 16; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: en-GB (en_GB); UI-Language: en-US
Calc: threaded

@Luuk, @V Stuart Foote, please attach a screenshot of the problem
Comment 5 V Stuart Foote 2019-06-11 14:43:08 UTC Comment hidden (obsolete)
Comment 6 V Stuart Foote 2019-06-11 14:47:17 UTC
(In reply to V Stuart Foote from comment #5)
> Created attachment 152105 [details]
> vertical Text Box dependent on font metrics
> 
> (In reply to Xisco Faulí from comment #4)
> > @Luuk, @V Stuart Foote, please attach a screenshot of the problem
> 
> attached.
> 
> Copied the vertical Text Box, but changed font for the copy to one with
> correct metrics.  Britanic Bold of the original is clipped in its descenders
> --g and added y, q, p. A font with better metrics, Microsoft Yahei, is
> correctly bounded.

Should add that the metrics issue is even more apparent if you select the text, shows the clipping of the stamped glyph relative to its bounding box held in the vertical text box.
Comment 7 V Stuart Foote 2019-06-12 01:26:47 UTC
QA - wrong meta... adjusted to bug 71732