Merge branch 'private-fonts'
Add support for using application-private fonts. Closes #13568. Closes https://github.com/wxWidgets/wxWidgets/pull/591
This commit is contained in:
@@ -109,6 +109,7 @@ All (GUI):
|
||||
|
||||
- Allow wxWebView::RunScript() return values (Jose Lorenzo, GSoC 2017).
|
||||
- Allow using fractional pen widths with wxGraphicsContext (Adrien Tétar).
|
||||
- Add support for loading fonts from external files (Arthur Norman).
|
||||
- Improve wxSVGFileDC to support more of wxDC API (Maarten Bent).
|
||||
- Add support for wxAuiManager and wxAuiPaneInfo to XRC (Andrea Zanellato).
|
||||
- Add support for wxSL_MIN_MAX_LABELS and wxSL_VALUE_LABEL to XRC (ousnius).
|
||||
|
@@ -186,6 +186,7 @@ library:
|
||||
@itemdef{wxUSE_POSTSCRIPT, Use wxPostScriptPrinter class.}
|
||||
@itemdef{wxUSE_PRINTF_POS_PARAMS, Use wxVsnprintf which supports positional parameters.}
|
||||
@itemdef{wxUSE_PRINTING_ARCHITECTURE, Enable printer classes.}
|
||||
@itemdef{wxUSE_PRIVATE_FONTS, Implement wxFont::AddPrivateFont() method.}
|
||||
@itemdef{wxUSE_PROGRESSDLG, Enables progress dialog classes.}
|
||||
@itemdef{wxUSE_PROPGRID, Use wxPropertyGrid library.}
|
||||
@itemdef{wxUSE_PROTOCOL, Use wxProtocol and derived classes.}
|
||||
|
@@ -75,4 +75,16 @@ implemented for Windows and Unix (GTK+ and Motif) ports only, all the methods
|
||||
are available for all the ports and should be used to make your program work
|
||||
correctly when they are implemented later.
|
||||
|
||||
@section overview_font_privateinfo Private font information
|
||||
|
||||
Sometimes an application needs fonts that are not globally installed on the
|
||||
system. On Macintosh/OSX this can be arranged by placing the desired fonts
|
||||
within the Application Bundle in Contents/Resources/Fonts and using
|
||||
the ATSApplicationFontsPath key to point there. The full details of the
|
||||
procedure there can be found as OSX developer resources. For the GTK+ and
|
||||
Windows ports it is possible to add TrueType fonts from arbitrary locations at
|
||||
run-time using wxFont::AddPrivateFont(). Notice that under MSW this function
|
||||
should be called before creating the first wxGraphicsContext object if you want
|
||||
the private font to be usable from it.
|
||||
|
||||
*/
|
||||
|
Reference in New Issue
Block a user