You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2014/01/27 14:54:14 UTC

[Bug 124122] New: CoreText: Emulate bold for fonts that do not provide bold themselves

https://issues.apache.org/ooo/show_bug.cgi?id=124122

            Bug ID: 124122
        Issue Type: ENHANCEMENT
           Summary: CoreText: Emulate bold for fonts that do not provide
                    bold themselves
           Product: General
           Version: 4.1.0-dev
          Hardware: Mac
                OS: Mac OSX, all
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: code
          Assignee: hdu@apache.org
          Reporter: hdu@apache.org
                CC: issues@openoffice.apache.org

A couple of fonts don't provide bold typefaces themselves. Emulating boldness
using their regular version can give a reasonable approximation and it allows
to distinguish texts that only differ in their "weight" attribute.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 124122] CoreText: Emulate bold for fonts that do not provide bold themselves

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124122

--- Comment #3 from SVN Robot <sv...@dev.null.org> ---
"hdu" committed SVN revision 1562059 into trunk:
#i124122# emulate bold font weights for CoreText if needed

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 124122] CoreText: Emulate bold for fonts that do not provide bold themselves

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124122

--- Comment #2 from hdu@apache.org <hd...@apache.org> ---
Created attachment 82412
  --> https://issues.apache.org/ooo/attachment.cgi?id=82412&action=edit
test-document with Andale Mono that doesn't provide Bold styles

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 124122] CoreText: Emulate bold for fonts that do not provide bold themselves

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124122

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |123951

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 124122] CoreText: Emulate bold for fonts that do not provide bold themselves

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124122

Bug 124122 depends on bug 123951, which changed state.

Bug 123951 Summary: use CoreText API instead of deprecated ATSUI API
https://issues.apache.org/ooo/show_bug.cgi?id=123951

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ACCEPTED                    |RESOLVED
         Resolution|---                         |FIXED

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 124122] CoreText: Emulate bold for fonts that do not provide bold themselves

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124122

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ACCEPTED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.1.0

--- Comment #4 from hdu@apache.org <hd...@apache.org> ---
Fixed with the commit above. Using the weight ratio of requested vs. available
font allows the emulation of all bold font weights (semibold, bold ultra bold
and black).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 124122] CoreText: Emulate bold for fonts that do not provide bold themselves

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124122

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |ACCEPTED

--- Comment #1 from hdu@apache.org <hd...@apache.org> ---
The CoreText string attribute kCTStrokeWidthAttributeName looks like a good
candidate to accomplish such an emulation. It's been available since OSX 10.6,
so it is covered in our new platform baseline.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.