Commit a0b021d1 authored by Allan Sandfeld Jensen's avatar Allan Sandfeld Jensen
Browse files

Fix selection of fonts based on styleName


By carrying the styleName through from QFontDef to
bestFoundry and giving it to bestStyle that can use it
we can accurately match fonts based on styleName. This
makes it possible to match styles such as DejaVu Sans
Condensed and Ubuntu Medium.

The example fontsampler is updated so it can actually
sample all the different styles it lists.

Change-Id: I381effc74130311f98794cd07d30be10dee4fe45
Reviewed-by: default avatarShawn Rutledge <shawn.rutledge@digia.com>
parent b3431a95
Showing with 9 additions and 5 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment