Issue 127270 - Emulated bolding ("singular" font) with color gives outline effect
Summary: Emulated bolding ("singular" font) with color gives outline effect
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: 4.1.3
Hardware: All Mac OS X, all
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2017-01-02 08:51 UTC by Kjell
Modified: 2018-11-19 01:40 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

Writer document to demonstrate bug with bolding (11.87 KB, application/vnd.oasis.opendocument.text)
2017-01-02 09:09 UTC, Kjell
no flags Details
Screenshot - only plain "Geneva" font file installed (41.14 KB, image/png)
2017-01-10 13:00 UTC, Kjell Edvard Medhaug
no flags Details
Screenshot after installing "Geneva Bold" (42.07 KB, image/png)
2017-01-10 13:03 UTC, Kjell Edvard Medhaug
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Kjell 2017-01-02 08:51:29 UTC
When using a font that does not have separate typeface files for bold face, bolding is emulated. It looks like this is done by superimposing a "fat contour" line on the existing typeface. 

On the Mac OS-X build of 4.1.3, the bolding contour is always black. When bolding colored text, the visual effect is "outline with fill color". White text on black background comes out as "skeleton" (skinny characters) when bolding is applied.

The problem does not occur on Windows builds of 4.1.3. I have not tested it on other platforms.

The problem has been observed on OS-X versions 10.8 and 10.12. Other apps can apply bolding as expected on the same systems. 

Workaround is to install the boldface font file when it exists. Secondary workaround is to use a replacement font. (Preferences - OpenOffice - Fonts)
Comment 1 Kjell 2017-01-02 09:09:51 UTC
Created attachment 85905 [details]
Writer document to demonstrate bug with bolding

The document demonstrates the issue by using the "Geneva" font, which by default is only installed with one font file for the basic typeface. If "Geneva Bold" font file is installed, the issue will not show. 

Issue will resurface if you uninstall the Geneva Bold font file, or for the "Geneva lines" you can use a font which lacks explicit bold font files on your system.
Comment 2 oooforum (fr) 2017-01-02 11:19:37 UTC
Possibly a dup of 127248
Comment 3 Kjell 2017-01-02 13:50:36 UTC
(In reply to oooforum (fr) from comment #2)
> Possibly a dup of 127248

No it is not. (That one was also reported by me. I see now that I have registered twice, using different mail addresses. Minor slip...)

127248 is an issue with text alignment on block aligned paragraphs. 
This issue, 127270, is with rendering (specifically, coloration)  of "autogenerated bold" characters. 

As I see it, it is only conceivable (i.e. not highly probable) that the two issues have a common root somewhere in character handling. The reported issues (coloration vs. positioning) are fundamentally different, so I can't see any reason why they should be marked as duplicates at the outset.
Comment 4 Kjell Edvard Medhaug 2017-01-10 13:00:20 UTC
Created attachment 85911 [details]
Screenshot - only plain "Geneva" font file installed

Note the formatting of the word "Bold", in particular at the end of the second line and beginning the last line of text.
Comment 5 Kjell Edvard Medhaug 2017-01-10 13:03:45 UTC
Created attachment 85912 [details]
Screenshot after installing "Geneva Bold"

Bolded green is now all green, and bolded white on black appears as bold text rather than a "font skeleton".