Add BUNDLE_FONT_RESOURCES and use it in font sample
Allow copying font files to the Fonts subdirectory of the app bundle, private fonts can only be loaded from there under macOS currently.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<makefile>
|
||||
|
||||
<set var="BUNDLE_FONT_RESOURCES">$(SRCDIR)/wxprivate.ttf</set>
|
||||
|
||||
<include file="../../build/bakefiles/common_samples.bkl"/>
|
||||
|
||||
<exe id="font" template="wx_sample" template_append="wx_append">
|
||||
|
Reference in New Issue
Block a user