Merge branch 'font-fixes'
Complete support for fractional point sizes and font weights other than light/bold. Also harmonize wxFont API and implementation among all ports (fixing compilation of those of them that were broken by recent changes). See https://github.com/wxWidgets/wxWidgets/pull/919
This commit is contained in:
@@ -104,6 +104,8 @@ All (GUI):
|
||||
|
||||
- wxAdvanced library was merged into wxCore, simply remove all references
|
||||
to "adv" from your build system, it is not needed any longer.
|
||||
- Add support for non-integer font sizes (e.g. 10.5pt fonts).
|
||||
- Add support for font weights in 1..1000 interval and not just light/bold.
|
||||
- Add wxDataViewToggleRenderer::ShowAsRadio().
|
||||
- Improve stock items consistency and aesthetics (dhowland).
|
||||
- Fix bug with missing items in overflowing AUI toolbar (Maarten Bent).
|
||||
@@ -117,6 +119,7 @@ All (GUI):
|
||||
- Allow distinguishing between user- and script-opened windows in wxWebView.
|
||||
- Allow binding to events generated by their items in submenus too.
|
||||
- Add wxGrid::SetCornerLabelValue() (Pavel Kalugin).
|
||||
- Add strikethrough support for fonts defined in XRC.
|
||||
|
||||
wxGTK:
|
||||
|
||||
|
@@ -403,19 +403,28 @@ and can be one of the following "sub-properties":
|
||||
|
||||
@beginTable
|
||||
@hdr3col{property, type, description}
|
||||
@row3col{size, unsigned integer,
|
||||
@row3col{size, float,
|
||||
Pixel size of the font (default: wxNORMAL_FONT's size or @c sysfont's
|
||||
size if the @c sysfont property is used or the current size of the font
|
||||
of the enclosing control if the @c inherit property is used.}
|
||||
of the enclosing control if the @c inherit property is used. Note that
|
||||
versions of wxWidgets until 3.1.2 only supported integer values for the
|
||||
font size.}
|
||||
@row3col{style, enum,
|
||||
One of "normal", "italic" or "slant" (default: normal).}
|
||||
@row3col{weight, enum,
|
||||
One of "normal", "bold" or "light" (default: normal).}
|
||||
@row3col{weight, enum or integer,
|
||||
One of "thin", "extralight", "light", "normal", "medium", "semibold",
|
||||
"bold", "extrabold", "heavy", "extraheavy", corresponding to the similarly
|
||||
named elements of ::wxFontWeight enum, or a numeric value between 1 and
|
||||
1000 (default: normal). Note that versions of wxWidgets until 3.1.2 only
|
||||
supported "light", "normal" and "bold" values for weight.}
|
||||
@row3col{family, enum,
|
||||
One of "default", "roman", "script", "decorative", "swiss", "modern" or "teletype"
|
||||
(default: default).}
|
||||
@row3col{underlined, @ref overview_xrcformat_type_bool,
|
||||
Whether the font should be underlined (default: 0).}
|
||||
@row3col{strikethrough, @ref overview_xrcformat_type_bool,
|
||||
Whether the strikethrough font should be used (default: 0). This property
|
||||
is only supported since wxWidgets 3.1.2.}
|
||||
@row3col{face, ,
|
||||
Comma-separated list of face names; the first one available is used
|
||||
(default: unspecified).}
|
||||
|
Reference in New Issue
Block a user