Giter VIP home page Giter VIP logo

Comments (9)

nicholasc avatar nicholasc commented on May 18, 2024 1

The issue is with fontforge on Mac OS X. I haven't been able to import psMat or fontforge packages in any python script without getting the same segfault. I ended up patching my font on linux.

@ryanoasis I believe this issue can be close on your side as this seems to be a problem related to fontforge. If I ever come across a solution, I'll post it here.

from nerd-fonts.

ryanoasis avatar ryanoasis commented on May 18, 2024 1

@nicholasc Thanks! Sorry I never said that!!! 😊

I will probably add something to the wiki and close it soon (getting caught up on these issues)

from nerd-fonts.

ryanoasis avatar ryanoasis commented on May 18, 2024 1

Closed via: https://github.com/ryanoasis/nerd-fonts/wiki/FAQ-and-Troubleshooting#segmentation-fault-running-python-patcher

from nerd-fonts.

ryanoasis avatar ryanoasis commented on May 18, 2024

@obxhdx hmm that is odd. Im using python 2.7.6 though I doubt that is causing anything.

Do you have the python fontforge module? It should be warning about that if not.

Seems like something else is going on...

I have actually been working on running the patcher for the remaining unpatched fonts. I will push it up soon if you want to grab Inconsolata from here (https://github.com/ryanoasis/nerd-filetype-glyphs-fonts-patcher/tree/master/patched-fonts/Inconsolata)

from nerd-fonts.

obxhdx avatar obxhdx commented on May 18, 2024

Oh, cool. Thanks for the Inconsolata font!

FYI, I was trying the patcher on a Mac. At first I got the warning about the fontforge module, but installing it via homebrew was enough to get past that.

But well, Inconsolata is all I wanted. Thank you again.

from nerd-fonts.

adambiggs avatar adambiggs commented on May 18, 2024

Just ran into this as well... Probably should be reopened.

I'm also using python 2.7.9 and the same version of fontforge, both installed via Homebrew on OSX.

from nerd-fonts.

ryanoasis avatar ryanoasis commented on May 18, 2024

Hmm probably will need some help on this one.

Did a fresh install of fontforge on Fedora and no issue running the patcher.

If someone could try to debug that'd be great

python -m pdb ./font-patcher unpatched-sample-fonts/Inconsolata/Inconsolata\ for\ Powerline.otf
python -i

or some other way

initial thoughts... seems like my script is doing something very bad performance wise..

Just out of curiousity, can you tell me what you get for ulimit -s ?

Does running the script with the -q (quiet) flag make any difference ?

from nerd-fonts.

nicholasc avatar nicholasc commented on May 18, 2024

I have the same problem on OS X running Python 2.7.9 and a fontforge build from May 5th.

I'm not very familiar with Python, but using:
python -m pdb ./font-patcher unpatched-sample-fonts/Inconsolata/Inconsolata\ for\ Powerline.otf

I got:

> /Users/nicholas/.vim/bundle/nerd-filetype-glyphs-fonts-patcher/font-patcher(3)<module>()
-> import sys
(Pdb) next
> /Users/nicholas/.vim/bundle/nerd-filetype-glyphs-fonts-patcher/font-patcher(4)<module>()
-> import psMat
(Pdb) next
[1]    63258 segmentation fault  python -m pdb ./font-patcher

Running the script with the quiet flag does not change anything.

It seems like the psMat package might be causing the issue here. I'll try and investigate further.

from nerd-fonts.

github-actions avatar github-actions commented on May 18, 2024

This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference.

from nerd-fonts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.