Bug 1136510 - Respect fontconfig's hintstyle
Summary: Respect fontconfig's hintstyle
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: cairo
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Benjamin Otte
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-02 18:16 UTC by Michael Kuhn
Modified: 2015-12-02 16:15 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-12-02 03:41:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Respect fontconfig's hintstyle (2.59 KB, text/plain)
2014-09-02 18:16 UTC, Michael Kuhn
no flags Details


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 11838 0 None None None Never

Description Michael Kuhn 2014-09-02 18:16:37 UTC
Created attachment 933885 [details]
Respect fontconfig's hintstyle

Description of problem:
My default hintstyle is hintslight but I would like to use a fontconfig rule to apply hintfull to CFF fonts to make FreeType use the new Adobe engine.

Currently, this does not work because of the linked bug report.

The attached patch is based on the proposed solutions in the linked bug report and fixes the problem.

Version-Release number of selected component (if applicable):
cairo.x86_64          1.13.1-0.1.git337ab1f.fc20
cairo-gobject.x86_64  1.13.1-0.1.git337ab1f.fc20

How reproducible:
Add something like the following to .config/fontconfig/fonts.conf:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <match target="font">
    <test name="fontformat" compare="eq"><string>CFF</string></test>
    <edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
  </match>
</fontconfig>

Steps to Reproduce:
1. Use an OTF font such as Cantarell
2. Check whether it is thin (hintslight) or not (hintfull)

Actual results:
FreeType uses the autohinter.

Expected results:
FreeType uses Adobe's hinter.

Comment 1 Fedora End Of Life 2015-11-04 15:12:07 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2015-12-02 03:41:57 UTC
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.