nicolo-ribaudo / brackets-svg-font

An Adobe Brackets extension to view SVG fonts
http://brackets.dnbard.com/extension/nicolo-ribaudo.brackets-svg-font
MIT License
7 stars 3 forks source link

The extension opens fontforge at startup on linux #4

Closed glepretre closed 9 years ago

glepretre commented 9 years ago

selection_002

nicolo-ribaudo commented 9 years ago

Can't reproduce on Ubuntu 14.10

Is FontForge opened by running fontforge -v in the terminal?

glepretre commented 9 years ago

Can't reproduce on Ubuntu 14.10

I'm running Linux Mint Debian Edition :wink:

Is FontForge opened by running fontforge -v in the terminal?

Yes.

My fontforge version is: 20120731.b-4

I guess in that version, the command-line argument to get the system installed version is -version

fontforge --help
Copyright (c) 2000-2012 by George Williams.
 Executable based on sources from 14:57 GMT 31-Jul-2012-ML.
 Library based on sources from 14:57 GMT 31-Jul-2012.
fontforge [options] [fontfiles]
    -new             (creates a new font)
    -last            (loads the last sfd file closed)
    -recover none|auto|inquire|clean (control error recovery)
    -allglyphs       (load all glyphs in the 'glyf' table
             of a truetype collection)
    -nosplash        (no splash screen)
    -unique          (if a fontforge is already running open
             all arguments in it and have this process exit)
    -display display-name    (sets the X display)
    -depth val       (sets the display depth if possible)
    -vc val          (sets the visual class if possible)
    -cmap current|copy|private   (sets the type of colormap)
    -dontopenxdevices    (in case that fails)
    -sync            (syncs the display, debugging)
    -keyboard ibm|mac|sun|ppc  (generates appropriate hotkeys in menus)
    -usecairo=yes|no  Use (or not) the cairo library for drawing
    -usepango=yes|no  Use (or not) the pango library for text
    -usage           (displays this message, and exits)
    -help            (displays this message, invokes a browser)
                  (Using the BROWSER environment variable)
    -version         (prints the version of fontforge and exits)
    -library-status  (prints information about optional libraries
                 and exits)
    -lang=py         use python for scripts (may precede -script)
    -lang=ff         use fontforge's legacy scripting language
    -script scriptfile   (executes scriptfile)
        must be the first option (or follow -lang).
        All others passed to scriptfile.
    -dry scriptfile      (syntax checks scriptfile)
        must be the first option. All others passed to scriptfile.
        Only for fontforge's own scripting language, not python.
    -c script-string     (executes argument as scripting cmds)
        must be the first option. All others passed to the script.

Which version are you using? Because it seems I'm on the latest stable: Debian packages search="fontforge"

fedor1113 commented 9 years ago

Hi! I've had the same problem (Ubuntu 14.10). I opened the extensions folder and then found the .../node/fontforge/parser.ff file and changed "fontforge -v" to "fontforge -version". Everything works for now (after this hotfix the app stopped its opening with Brackets).

nicolo-ribaudo commented 9 years ago

Thanks, I'll release the patch in few hours.

Il giorno lun 27 apr 2015 17:13 fedor1113 notifications@github.com ha scritto:

Hi! I've had the same problem (Ubuntu 14.10). I opened the extensions folder and then found the .../node/fontforge/parser.ff file and changed "fontforge -v" to "fontforge -version". Everything works for now (after this hotfix the app stopped its opening with Brackets).

— Reply to this email directly or view it on GitHub https://github.com/nicolo-ribaudo/brackets-svg-font/issues/4#issuecomment-96696339 .

fedor1113 commented 9 years ago

As a matter of fact, I've probably found a small lexical mistake in README.md. Here: "You don't have to do nothing!" (line 11), when it would be more correct to say "You don't have to do anything!" =) You could add it to the patch as well.

nicolo-ribaudo commented 9 years ago

Released version 0.4.3