Opened 10 years ago

Last modified 10 years ago

#47466 new enhancement

qt4: improved support for less common font weights

Reported by: RJVB (René Bertin) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: qt4-mac qt4-mac-devel

Description

I may not be the only one who noticed that Qt has only partial support for font weights that do not correspond to the standard duo Normal, Bold. The font selection itself works well enough, but the information shown about the font or the preselection when reopening the font dialog may be off. For instance, Medium or Semi Bold can become Bold, or my favourite: Novarese Medium got turned into Novarese Book Italic.

Attached is a patch that addresses most if not (hopefully) all these issues. It applies to Qt 4.8.6 and will become part of my port:qt4-mac-devel.

(A forward-ported version for Qt 5.4 is planned.)

Attachments (1)

patch-improve-fontweight-support.diff (17.2 KB) - added by RJVB (René Bertin) 10 years ago.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by RJVB (René Bertin)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Cc: michaelld@… removed
Owner: changed from macports-tickets@… to michaelld@…
Port: qt4-mac, qt4-mac-develqt4-mac qt4-mac-devel
Note: See TracTickets for help on using tickets.