bugFree UCS Outline Fonts - Bugs: bug #46006, Style linking


bug #46006: Style linking

Submitted by:  David Lasher <dlasher>
Submitted on:  Sun 20 Sep 2015 09:33:55 AM UTC  
Category:  font info Severity:  3 - Normal
Item Group:  installation Status:  Fixed
Privacy:  Public Assigned to:  Steve White <Stevan_White>
Open/Closed:  Open Release:  development

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


( Jump to the original submission)

Mon 14 Aug 2017 05:26:09 PM UTC, comment #7:

Brilliant! Thanks, David!

Steve White <Stevan_White>
Project AdministratorIn charge of this item.
Mon 14 Aug 2017 04:39:45 PM UTC, comment #6:

Yes, your fix is working fine. Thanks!

David Lasher <dlasher>
Sat 12 Aug 2017 09:49:26 PM UTC, comment #5:

OK I linked a script to the Makefile, which should set the bits that I think should be set.

If you're still with me, please try it out to see if it has the right behavior in Windows.

Steve White <Stevan_White>
Project AdministratorIn charge of this item.
Sat 12 Aug 2017 09:38:47 PM UTC, comment #4:

Hi pardon the long wait.
Workin on it, but I'm really confused now.

I looked at it again, and near as I can tell, for FreeSansBoldOblique, both the ITALIC and BOLD bits are in fact set.
(This is very confusing due to endian-ness -- but that's the only reasonable interpretation of what I see.)

BUT the OBLIQUE bit should also be set for this face.

AND dammit, also the USE_TYPO_METRICS bit. The "Really use typo Metrics" checkbox is set in the UI. I don't know why this would drop out.

I will write a script to accomplish this.

Steve White <Stevan_White>
Project AdministratorIn charge of this item.
Sat 09 Jul 2016 01:11:20 PM UTC, comment #3:

This is something FontForge does. In the 2012 release at least, it turns the Italic bit off if the name of the font contains "Obli".

The OpenType standard says of the Italic bit: "Font contains italic or oblique characters, otherwise they are upright." -- the second clause of which is confusing... but the first is pretty clear.

Steve White <Stevan_White>
Project AdministratorIn charge of this item.
Sat 09 Jul 2016 08:51:48 AM UTC, comment #2:

Operating system is Windows 7 Pro 64-bit.

Bug still exists using latest freefont (rev. 3142), built using the latest FontForge (ver. 5-Apr-2016) in a Ubuntu Gnome virtual machine.

David Lasher <dlasher>
Fri 23 Oct 2015 04:28:59 PM UTC, comment #1:

Hi David,

I was unaware of this, and I hadn't noticed it in Windows, although tests of italic have been done in the past. What version of Windows are you using?

If the bit can't be set in FontForge, I can probably rig something up with a script.

It will be a while before I have time to work on it though.


Steve White <Stevan_White>
Project AdministratorIn charge of this item.
Sun 20 Sep 2015 09:33:55 AM UTC, original submission:

I don't know whether this is a FreeFont or a FontForge issue:

In the development version, the oblique (including bold oblique) styles of FreeMono and FreeSans do not have have correct style linking to their families, at least in Windows. Installing all 4 styles of a family results in only the upright styles being listed in Control Panel, and applications use fake-slanted versions of the upright styles.

I have found that the problem occurs because of an error in the fsSelection entry in the OS/2 table. The oblique bit is set, but the italic bit - which Windows uses for style linking - is not set. Changing that one bit (using the ttx tool in the Adobe AFDKO) produces the correct style links.

David Lasher <dlasher>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by Stevan_White (Posted a comment)
  • -email is unavailable- added by dlasher (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-08-14 Stevan_White StatusFix posted => Fixed
    2017-08-12 Stevan_White StatusProceeding => Fix posted
    2017-08-12 Stevan_White StatusConfirmed => Proceeding
    2016-07-09 Stevan_White StatusNeed info => Confirmed
    2016-07-02 Stevan_White StatusNone => Need info
    2015-10-23 Stevan_White Assigned toNone => Stevan_White

    Back to the top

    Powered by Savane 3.3