Commit 94ec23f
directory for linux specific files
Changed files (8)
modifiedREADMEdeletedbirdfont.desktopdeletedbirdfont.pngaddedlinux/birdfont.desktopaddedlinux/birdfont.pngmodifiedsrc/Path.valamodifiedsrc/PenTool.valamodifiedwscript
Diff
@@ -2,7 +2,7 @@ Birdfont – font editor ---------------------- -Birdfont is a font editor that creates outline vector graphics. It supports +Birdfont is a font editor that creates outline vector graphics and exports fonts in both svg and ttf format. Author: Johan Mattssondeleted file mode 100644@@ -1,12 +0,0 @@-[Desktop Entry]-Name=Birdfont-Name[ru]=Birdfont-Comment=SVG Fonts editor-Comment[ru]=Редактор шрифтов SVG-Exec=birdfont %U-Icon=birdfont-StartupWMClass=birdfont-Terminal=false-Type=Application-Categories=Graphics;-deleted file mode 100644Binary files a/birdfont.png and /dev/null differnew file mode 100644@@ -0,0 +1,12 @@+[Desktop Entry]+Name=Birdfont+Name[ru]=Birdfont+Comment=SVG Fonts editor+Comment[ru]=Редактор шрифтов SVG+Exec=birdfont %U+Icon=birdfont+StartupWMClass=birdfont+Terminal=false+Type=Application+Categories=Graphics;+new file mode 100644Binary files /dev/null and b/linux/birdfont.png differ@@ -1372,7 +1372,7 @@ class Path { } if (previous_point == null) {- warning ("previous_point == null");+ warning (@"previous_point == null, points.length (): $(points.length ())"); return; } @@ -365,6 +365,10 @@ class PenTool : Tool { } public static bool is_new_point_on_path_selected () {+ if (!Supplement.experimental) {+ return false;+ }+ Tool t = MainWindow.get_toolbox ().get_tool ("new_point_on_path"); return t.is_selected (); }@@ -663,21 +667,6 @@ class PenTool : Tool { test_reverse_coordinate (x, y, px, py, n); test_click_action (1, x, y);- - // zoom + offset- n = "View zoom";- g.default_zoom ();- - x = xc + 10;- y = yc - 10;- - px = g.path_coordinate_x (x);- py = g.path_coordinate_y (y);- - test_click_action (1, x, y);-- test_coordinate (px * g.view_zoom, py - yc * g.view_zoom, 10, 10, n);- test_reverse_coordinate (x, y, px, py, n); // close path test_click_action (3, x, y);@@ -35,8 +35,8 @@ def build(bld): bld.install_files('${PREFIX}/share/birdfont/', start_dir.ant_glob('layout/*'), cwd=start_dir, relative_trick=True) bld.install_files('${PREFIX}/share/birdfont/', start_dir.ant_glob('icons/*'), cwd=start_dir, relative_trick=True) - bld.install_files('${PREFIX}/share/applications/', ['birdfont.desktop']) - bld.install_files('${PREFIX}/share/icons/hicolor/48x48/apps/', ['birdfont.png']) + bld.install_files('${PREFIX}/share/applications/', ['linux/birdfont.desktop']) + bld.install_files('${PREFIX}/share/icons/hicolor/48x48/apps/', ['linux/birdfont.png']) if bld.options.win32: bld.recurse('win32')