Giter VIP home page Giter VIP logo

Comments (3)

Finii avatar Finii commented on June 29, 2024

Hej @D3vil0p3r

I do not really understand why you need the src/glyphs subdir when you already have the FontPatcher.zip?

$ unzip -l FontPatcher.zip
Archive:  FontPatcher.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  2024-05-06 22:43   src/glyphs/
      378  2024-05-06 22:43   src/glyphs/README.md
        0  2024-05-06 22:43   src/glyphs/devicons/
      374  2024-05-06 22:43   src/glyphs/devicons/README.md
   125484  2024-05-06 22:43   src/glyphs/devicons/devicons_orig.ttf
   123276  2024-05-06 22:43   src/glyphs/devicons/devicons.ttf
        0  2024-05-06 22:43   src/glyphs/codicons/
    19047  2024-05-06 22:43   src/glyphs/codicons/LICENSE.txt
      239  2024-05-06 22:43   src/glyphs/codicons/README.md
    76140  2024-05-06 22:43   src/glyphs/codicons/codicon_orig.ttf
    70048  2024-05-06 22:43   src/glyphs/codicons/codicon.ttf
        0  2024-05-06 22:43   src/glyphs/font-awesome/
     7427  2024-05-06 22:43   src/glyphs/font-awesome/LICENSE.txt
      419  2024-05-06 22:43   src/glyphs/font-awesome/README.md
   976188  2024-05-06 22:43   src/glyphs/font-awesome/FontAwesome.otf
     4040  2024-05-06 22:43   src/glyphs/font-awesome/generate
    85233  2024-05-06 22:43   src/glyphs/font-awesome/remix_mapping
     7872  2024-05-06 22:43   src/glyphs/font-awesome/remix
     3046  2024-05-06 22:43   src/glyphs/font-awesome/analyze
    67575  2024-05-06 22:43   src/glyphs/font-awesome/mapping
        0  2024-05-06 22:43   src/glyphs/weather-icons/
    59071  2024-05-06 22:43   src/glyphs/weather-icons/OFL-FAQ.txt
     4692  2024-05-06 22:43   src/glyphs/weather-icons/OFL.txt
    99564  2024-05-06 22:43   src/glyphs/weather-icons/weathericons-regular-webfont.ttf
        0  2024-05-06 22:43   src/glyphs/pomicons/
     4395  2024-05-06 22:43   src/glyphs/pomicons/LICENSE
      127  2024-05-06 22:43   src/glyphs/pomicons/README.md
     4028  2024-05-06 22:43   src/glyphs/pomicons/Pomicons.otf
        0  2024-05-06 22:43   src/glyphs/materialdesign/
      992  2024-05-06 22:43   src/glyphs/materialdesign/LICENSE
     1212  2024-05-06 22:43   src/glyphs/materialdesign/README.md
  1109996  2024-05-06 22:43   src/glyphs/materialdesign/MaterialDesignIconsDesktop.ttf
   302940  2024-05-06 22:43   src/glyphs/materialdesign/materialdesignicons-webfont.ttf
  1440704  2024-05-06 22:43   src/glyphs/materialdesign/MaterialDesignIconsDesktop_orig.ttf
    49316  2024-05-06 22:43   src/glyphs/font-awesome-extension.ttf
   163320  2024-05-06 22:43   src/glyphs/original-source.otf
     3168  2024-05-06 22:43   src/glyphs/Unicode_IEC_symbol_font.otf
        0  2024-05-06 22:43   src/glyphs/powerline-extra/
     1072  2024-05-06 22:43   src/glyphs/powerline-extra/LICENSE
    51036  2024-05-06 22:43   src/glyphs/powerline-extra/PowerlineExtraSymbols.otf
      511  2024-05-06 22:43   src/glyphs/powerline-extra/README.md
    15109  2024-05-06 22:43   src/glyphs/extraglyphs.sfd
    45772  2024-05-06 22:43   src/glyphs/font-logos.ttf
        0  2024-05-06 22:43   src/glyphs/powerline-symbols/
     1132  2024-05-06 22:43   src/glyphs/powerline-symbols/LICENSE.txt
      250  2024-05-06 22:43   src/glyphs/powerline-symbols/README.md
     2224  2024-05-06 22:43   src/glyphs/powerline-symbols/PowerlineSymbols.otf
        0  2024-05-06 22:43   src/glyphs/octicons/
      960  2024-05-06 22:43   src/glyphs/octicons/file-symlink-directory-24.svg
     1068  2024-05-06 22:43   src/glyphs/octicons/LICENSE
      726  2024-05-06 22:43   src/glyphs/octicons/analyze_octicons
     5843  2024-05-06 22:43   src/glyphs/octicons/generate
      845  2024-05-06 22:43   src/glyphs/octicons/file-symlink-directory-16.svg
    76796  2024-05-06 22:43   src/glyphs/octicons/octicons.ttf
     6299  2024-05-06 22:43   src/glyphs/octicons/mapping
    19071  2024-05-06 22:42   bin/scripts/name_parser/FontnameTools.py
    19065  2024-05-06 22:42   bin/scripts/name_parser/FontnameParser.py
   118868  2024-05-06 22:42   font-patcher
     1103  2024-05-06 22:43   readme.md
---------                     -------
  5178061                     59 files

from nerd-fonts.

Finii avatar Finii commented on June 29, 2024

Ah I see you want to create a package from a self-patched font.

build() {
  # patch fonts
  mkdir -p "$srcdir/patched"
  printf "%b" "\e[1;33m==> WARNING: \e[0mNow patching all fonts. This will take very long...\n"
  # patch fonts quiet with complete single-width glyphs
  parallel -j$(nproc) python font-patcher --glyphdir "$srcdir/glyphs/" -q -c -s {} -out "$srcdir/patched" ::: "$srcdir/NotoSansMono"/*.ttf
}

The FontPatcher.zip contains all you need, you do not need to fetch the icons manually in addition.

And as a hint - but maybe it is too late now to change that - for the extended Noto you should have probably set some other naming scheme via --makegroups n with n > 1.

$ cat src/unpatched-fonts/Noto/config.cfg
[Config]
commandline: --makegroups 5

from nerd-fonts.

D3vil0p3r avatar D3vil0p3r commented on June 29, 2024

Thank you @Finii It solves the issue.

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.