Commit 01a1cef
Update UCD to Unicode version 12
Changed files (3)
modifiedlibbirdfont/MenuTab.valamodifiedlibbirdfont/SearchPaths.valamodifiedresources/ucd.sqlite
Diff
@@ -155,7 +155,17 @@ public class MenuTab : FontDisplay { show_export_settings_tab (); } else { MenuTab.export_callback = new ExportCallback ();- MenuTab.export_callback.export_fonts_in_background (); + MenuTab.export_callback.export_fonts_in_background ();+ + MenuTab.export_callback.file_exported.connect (() => {+ string first_export = Preferences.@get ("first_export_done");+ + if (first_export == "") {+ Preferences.@set ("first_export_done", "true");+ MainWindow.show_message (t_("Congratulations to your first font!\n\n"+ + "Please consider supporting the project by purchasing the pro version at birdfont.org."));+ }+ }); } } @@ -159,6 +159,11 @@ public class SearchPaths { File f; string bundle_path = (BirdFont.bundle_path != null) ? (!) BirdFont.bundle_path : ""; + f = (!) File.new_for_path ("./resources/NamesList.txt");+ if (f.query_exists ()) {+ return f;+ }+ f = (!) File.new_for_path (PREFIX + "/share/unicode/NamesList.txt"); if (f.query_exists ()) { return f;@@ -173,7 +178,7 @@ public class SearchPaths { if (f.query_exists ()) { return f; }- + f = (!) File.new_for_path ("/usr/share/unicode/NamesList.txt"); if (f.query_exists ()) { return f;Binary files a/resources/ucd.sqlite and b/resources/ucd.sqlite differ