| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Was missing from this new value type, and is quite useful for this type.
Addresses API review comment.
Pick-to: 6.9
Change-Id: I07ea7ded7f963b2032c377f024bb88e9d54a4d5c
Reviewed-by: Ivan Solovev <[email protected]>
Reviewed-by: Marc Mutz <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The detach() call might deallocate the d-ptr we already
cached in the Q_D call, so move the Q_D call to after
detach()ing.
Even if it was not deallocated, as long as it was previously
shared, we would assign to the wrong private.
Change-Id: I9643ad72a7c7934cba9807220a9cf6c53c66ab13
Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]>
Reviewed-by: Edward Welbourne <[email protected]>
|
|
This adds QFontInfo::variableAxes() which can be used to inspect
a variable font and see which axes it defines. It is implemented
on DirectWrite, CoreText and FreeType.
On FreeType, there is a bug where getting the information about
variable axes on a font will cause the FT_Face to be unusable.
Unfortunately this happens for Cantarell-VF which is the default
font on some platforms. To work around this, we create a
temporary duplicate of the FT_Face for multiple masters fonts
on older FreeType versions when we fetch the information about
the axes so that we can throw away the broken FT_Face after.
[ChangeLog][QtGui][Fonts] Added API to get variable axis
information for a font.
Change-Id: Ia16e0a5f6df5744dc47e7f16c074391afde1f126
Reviewed-by: Volker Hilsheimer <[email protected]>
|