1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2025-01-06 21:49:40 +02:00
Commit Graph

2703 Commits

Author SHA1 Message Date
Finii
dd6115b5a5 [ci] Update FontPatcher.zip 2024-11-17 19:02:55 +00:00
Fini
d5d0f2d154
Merge pull request #1733 from ryanoasis/feature/progress-indicators
font-patcher: Add progress indicators
2024-11-17 19:57:40 +01:00
Fini
d43e4a2359
docs: update CONTRIBUTORS.md (#1739)
* docs: update CONTRIBUTORS.md

* Manually correct contributors "database"

Looks good, checked with `jq`.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>

---------

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-11-17 19:25:22 +01:00
Fini Jastrow
33d4af78a4 font-patcher: Fix 2 cell glyphs with overlap
[why]
Glyphs that shall end up in two cells with xy scaling and overlap (for
example E0C0, E0C2) end up being a bit too wide.
In fact the width is the 2 cell width and 2 overlap width.

[how]
Apply the overlap (which is 'percent' factor) not on the concrete glyph
width, which is 2*cellwidth in these cases, but base it on the
one-cell-width instead.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-17 19:05:40 +01:00
Fini Jastrow
41f91bcb4c Combine extraglyphs fonts
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-17 19:05:40 +01:00
Fini Jastrow
f2a38d4643 Boxdrawing: Fix non-monospace glyph
[why]
The shifting in the final patched font is broken for the 'blocks'
subset. The reason is that it contains a glyph that is one unit too
small.

[how]
Manually shift the points to make it as wide as the others.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-17 19:05:40 +01:00
Fini Jastrow
2b587fe474 Boxdrawing: Overhaul symbol font
[why]
All the glyphs have overlap (negative bearings). That in itself is ok,
altough it (the glyph width for example) is not consistent for all
subsets.

The overlaps can interact strangely with the overlap given by the
font-patcher script.

[how]
It seems better to remove the negative bearings.
Also some glyph width are corrected (unified).

The font is then stored uncompressed now.

[note]
The script used to modify the font:

import fontforge, psMat

font = fontforge.open('src/glyphs/extraglyphs_orig.sfd')
font.encoding = 'UnicodeFull'

def adjust(f, rang, left, width):
    for c in rang:
        g = f[c]
        if c in range(0x2599, 0x259f + 1):
            plus = 0
            g.transform(psMat.scale(1233/1234, 1))
        if c == 0x259D or c == 0x2595:
            g.width = width
            g.right_side_bearing = 0
        else:
            g.left_side_bearing = int(g.left_side_bearing + left)
            g.width = width
        print('{:X} {} {} {} {}'.format(c, g.boundingBox(), g.left_side_bearing, g.width, g.right_side_bearing))

adjust(font,
    [*range(0x2500, 0x2570 + 1), *range(0x2574, 0x257f + 1)],
    20, 1233 + 40)
adjust(font,
    range(0x2571, 0x2573 + 1),
    87, 1280+127)
adjust(font,
    range(0x2580, 0x259f + 1),
    0, 1233)

font.generate('TEST.sfd')
font.generate('TEST.ttf')

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-17 19:05:40 +01:00
Fini Jastrow
27b5aa903d font-patcher: Improve doc on ScaleGroup shifting
[why]
It can be confusing what is or is not synced when scaling-shifting.

[how]
Add text from commit:
  90bde735f  font-patcher: Use ScaleGlyph BB to align glyph

Also add a new (documentary) property for the tables that can be checked
so that nothing unexpected will happen.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-17 19:05:40 +01:00
Fini Jastrow
56f4c15341 font-patcher: Fix overlap scaling and shifting
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-17 19:05:40 +01:00
Fini Jastrow
bd59368568 font-patcher: Add progress indicators
[note]
Glyphs taken from FiraCode; remove negative bearings and add a helper
glyphs for vertical alignment that is used for the combined boundingbox
calculation but not patched in.

Fixes: #1345

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-14 12:37:59 +01:00
Fini
3e0e0e033e
Merge pull request #1691 from ryanoasis/feature/update-devicons
Switch to devicons/devicon
2024-11-14 00:39:13 +01:00
Fini Jastrow
f1dc79948d Devicons: Fix scaling of some few glyphs
[why]
Some glyphs in the (patched) E7B0-E7CF region seem to be too big.

[how]
The codepoints in the symbol font are 0x0100 less.
These are the "small things" that had a specific scale rule, which is
not needed anymore after we dropped these small icons and filled those
codepoints with new and bigger icons.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-14 00:18:44 +01:00
Fini Jastrow
ab08bd9da4 Devicons: Activate Devicons update
$ ./generate
    Program root: /usr

    Reading mapping file
    Found 496 entries

    Unpacking Devicons archive

    Mixing Vorillaz Devicons and possible fixes in
    Found 1688 svgs
    Bad RGB color spec: rgb(0%,0%,0%)
    Bad RGB color spec: rgb(0%,0%,0%)
    Bad RGB color spec: rgb(0%,0%,0%)
    Bad RGB color spec: rgb(0%,0%,0%)
    Using fixed svg for angularjs-plain.svg
    Using fixed svg for awk-plain.svg
    Bad RGB color spec: rgb(0%,0%,0%)
    Using fixed svg for bash-plain.svg
    Bad RGB color spec: rgb(25.882353%,12.156863%,37.254902%)
    Using fixed svg for llvm-plain.svg
    Bad RGB color spec: rgb(9.411765%,71.372549%,96.470588%)
    Generating devicons.ttf with 496 glyphs
    Generating GlyphInfo i_dev.sh
    Finished

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-14 00:18:44 +01:00
Fini Jastrow
b25baf1a90 Devicons: Improve nginx icon
[why]
Plain icon is missing but would be better than the wordmark icon.

[how]
Add plain icon, taken from their website.

[note]
Similar (but slightly different svg) to
https://github.com/devicons/devicon/pull/2291

Suggested-by: hasecilu
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-14 00:17:46 +01:00
Fini Jastrow
f24292e44a Devicons: Backport fixed icons
[why]
The fixed icons have been improved and suggested as fixes upstream.
The improvements were missing here.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-13 16:51:22 +01:00
Fini Jastrow
50e4861f40 Devicons: Remove compatibility entries from mapping rewrite rules
[why]
Some entries are only needed to adapt the Vorillaz Devicons to the
Devicons Devicon. After the mapping file has been adapted we can remove
them to clean up for coming updates.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-13 16:51:22 +01:00
Fini Jastrow
7d3436c035 Devicons: Update mapping file to 2.16.0
[how]

    $ ./analyze
    Found 198 mapping entries and 473 devicon directories
    # SVG change: code: E602 name: git, old: vorillaz/git.svg, new: git/git-plain.svg
    # SVG change: code: E603 name: bitbucket, old: vorillaz/bitbucket.svg, new: bitbucket/bitbucket-original.svg
    # SVG change: code: E604 name: mysql, old: vorillaz/mysql.svg, new: mysql/mysql-original.svg
    # SVG change: code: E609 name: github_badge, old: vorillaz/github_badge.svg, new: github/github-original.svg
    # SVG change: code: E60B name: wordpress, old: vorillaz/wordpress.svg, new: wordpress/wordpress-plain.svg
    # SVG change: code: E60C name: visualstudio, old: vorillaz/visualstudio.svg, new: visualstudio/visualstudio-plain.svg
    # SVG change: code: E60D name: jekyll, old: vorillaz/jekyll_small.svg, new: jekyll/jekyll-plain.svg
    # SVG change: code: E60E name: android, old: vorillaz/android.svg, new: android/android-plain.svg
    # SVG change: code: E60F name: windows, old: vorillaz/windows.svg, new: windows8/windows8-original.svg
    # SVG change: code: E610 name: stackoverflow, old: vorillaz/stackoverflow.svg, new: stackoverflow/stackoverflow-plain.svg
    # SVG change: code: E611 name: apple, old: vorillaz/apple.svg, new: apple/apple-original.svg
    # SVG change: code: E612 name: linux, old: vorillaz/linux.svg, new: linux/linux-plain.svg
    # SVG change: code: E614 name: ghost_small, old: vorillaz/ghost_small.svg, new: ghost/ghost-original.svg
    # SVG change: code: E616 name: codepen, old: vorillaz/codepen.svg, new: codepen/codepen-original.svg
    # SVG change: code: E617 name: github_full, old: vorillaz/github_full.svg, new: github/github-original-wordmark.svg
    # SVG change: code: E618 name: nodejs_small, old: vorillaz/nodejs_small.svg, new: nodejs/nodejs-plain.svg
    # SVG change: code: E619 name: nodejs, old: vorillaz/nodejs.svg, new: nodejs/nodejs-plain-wordmark.svg
    # SVG change: code: E61B name: ember, old: vorillaz/ember.svg, new: ember/ember-plain.svg
    # SVG change: code: E61D name: django, old: vorillaz/django.svg, new: django/django-plain.svg
    # SVG change: code: E61E name: npm, old: vorillaz/npm.svg, new: npm/npm-original-wordmark.svg
    # SVG change: code: E61F name: ghost, old: vorillaz/ghost.svg, new: ghost/ghost-original-wordmark.svg
    # SVG change: code: E621 name: unity, old: vorillaz/unity_small.svg, new: unity/unity-plain.svg
    # SVG change: code: E622 name: raspberry_pi, old: vorillaz/rasberry_pi.svg, new: raspberrypi/raspberrypi-plain.svg
    # SVG change: code: E624 name: go, old: vorillaz/go.svg, new: go/go-line.svg
    # SVG change: code: E636 name: html5, old: vorillaz/html5.svg, new: html5/html5-plain.svg
    # SVG change: code: E637 name: scala, old: vorillaz/scala.svg, new: scala/scala-plain.svg
    # SVG change: code: E638 name: java, old: vorillaz/java.svg, new: java/java-plain.svg
    # SVG change: code: E639 name: ruby, old: vorillaz/ruby.svg, new: ruby/ruby-plain.svg
    # SVG change: code: E63A name: ubuntu, old: vorillaz/ubuntu.svg, new: ubuntu/ubuntu-plain.svg
    # SVG change: code: E63B name: rails, old: vorillaz/ruby_on_rails.svg, new: rails/rails-plain.svg
    # SVG change: code: E63C name: python, old: vorillaz/python.svg, new: python/python-plain.svg
    # SVG change: code: E63D name: php, old: vorillaz/php.svg, new: php/php-plain.svg
    # SVG change: code: E63E name: markdown, old: vorillaz/markdown.svg, new: markdown/markdown-original.svg
    # SVG change: code: E63F name: laravel, old: vorillaz/laravel.svg, new: laravel/laravel-original.svg
    # SVG change: code: E640 name: magento, old: vorillaz/magento.svg, new: magento/magento-original.svg
    # SVG change: code: E642 name: drupal, old: vorillaz/drupal.svg, new: drupal/drupal-plain.svg
    # SVG change: code: E643 name: chrome, old: vorillaz/chrome.svg, new: chrome/chrome-plain.svg
    # SVG change: code: E644 name: ie, old: vorillaz/ie.svg, new: ie10/ie10-original.svg
    # SVG change: code: E645 name: firefox, old: vorillaz/firefox.svg, new: firefox/firefox-plain.svg
    # SVG change: code: E646 name: opera, old: vorillaz/opera.svg, new: opera/opera-plain.svg
    # SVG change: code: E647 name: bootstrap, old: vorillaz/bootstrap.svg, new: bootstrap/bootstrap-plain.svg
    # SVG change: code: E648 name: safari, old: vorillaz/safari.svg, new: safari/safari-plain.svg
    # SVG change: code: E649 name: css3, old: vorillaz/css3.svg, new: css3/css3-plain.svg
    # SVG change: code: E64A name: css3_full, old: vorillaz/css3_full.svg, new: css3/css3-plain-wordmark.svg
    # SVG change: code: E64B name: sass, old: vorillaz/sass.svg, new: sass/sass-original.svg
    # SVG change: code: E64C name: grunt, old: vorillaz/grunt.svg, new: grunt/grunt-line.svg
    # SVG change: code: E64D name: bower, old: vorillaz/bower.svg, new: bower/bower-line.svg
    # SVG change: code: E650 name: jquery, old: vorillaz/jquery.svg, new: jquery/jquery-plain.svg
    # SVG change: code: E651 name: coffeescript, old: vorillaz/coffeescript.svg, new: coffeescript/coffeescript-original.svg
    # SVG change: code: E652 name: backbonejs, old: vorillaz/backbone.svg, new: backbonejs/backbonejs-plain.svg
    # SVG change: code: E653 name: angular, old: vorillaz/angular.svg, new: angular/angular-plain.svg
    # SVG change: code: E655 name: swift, old: vorillaz/swift.svg, new: swift/swift-plain.svg
    # SVG change: code: E657 name: symfony_badge, old: vorillaz/symfony_badge.svg, new: symfony/symfony-original.svg
    # SVG change: code: E658 name: less, old: vorillaz/less.svg, new: less/less-plain-wordmark.svg
    # SVG change: code: E659 name: stylus, old: vorillaz/stylus.svg, new: stylus/stylus-original.svg
    # SVG change: code: E65A name: trello, old: vorillaz/trello.svg, new: trello/trello-plain.svg
    # SVG change: code: E65C name: jira, old: vorillaz/jira.svg, new: jira/jira-plain.svg
    # SVG change: code: E663 name: gulp, old: vorillaz/gulp.svg, new: gulp/gulp-plain.svg
    # SVG change: code: E664 name: atom, old: vorillaz/atom.svg, new: atom/atom-original.svg
    # SVG change: code: E667 name: jenkins, old: vorillaz/jenkins.svg, new: jenkins/jenkins-line.svg
    # SVG change: code: E668 name: clojure, old: vorillaz/clojure.svg, new: clojure/clojure-line.svg
    # SVG change: code: E669 name: perl, old: vorillaz/perl.svg, new: perl/perl-plain.svg
    # SVG change: code: E66D name: redis, old: vorillaz/redis.svg, new: redis/redis-plain.svg
    # SVG change: code: E66E name: postgresql, old: vorillaz/postgresql.svg, new: postgresql/postgresql-plain.svg
    # SVG change: code: E672 name: typo3, old: vorillaz/typo3.svg, new: typo3/typo3-original.svg
    # SVG change: code: E674 name: doctrine, old: vorillaz/doctrine.svg, new: doctrine/doctrine-plain.svg
    # SVG change: code: E675 name: groovy, old: vorillaz/groovy.svg, new: groovy/groovy-plain.svg
    # SVG change: code: E676 name: nginx, old: vorillaz/nginx.svg, new: nginx/nginx-original.svg
    # SVG change: code: E677 name: haskell, old: vorillaz/haskell.svg, new: haskell/haskell-plain.svg
    # SVG change: code: E678 name: zend, old: vorillaz/zend.svg, new: zend/zend-original.svg
    # SVG change: code: E67B name: heroku, old: vorillaz/heroku.svg, new: heroku/heroku-plain.svg
    # SVG change: code: E67D name: debian, old: vorillaz/debian.svg, new: debian/debian-plain.svg
    # SVG change: code: E67E name: travis, old: vorillaz/travis.svg, new: travis/travis-plain.svg
    # SVG change: code: E67F name: dotnet, old: vorillaz/dotnet.svg, new: dot-net/dot-net-plain.svg
    # SVG change: code: E680 name: codeigniter, old: vorillaz/codeigniter.svg, new: codeigniter/codeigniter-plain.svg
    # SVG change: code: E681 name: javascript_badge, old: vorillaz/javascript_badge.svg, new: javascript/javascript-plain.svg
    # SVG change: code: E682 name: yii, old: vorillaz/yii.svg, new: yii/yii-plain.svg
    # SVG change: code: E683 name: composer, old: vorillaz/composer.svg, new: composer/composer-line.svg
    # SVG change: code: E684 name: krakenjs_badge, old: vorillaz/krakenjs_badge.svg, new: krakenjs/krakenjs-plain.svg
    # SVG change: code: E687 name: firebase, old: vorillaz/firebase.svg, new: firebase/firebase-plain.svg
    # SVG change: code: E698 name: dart, old: vorillaz/dart.svg, new: dart/dart-plain.svg
    # SVG change: code: E69C name: dreamweaver, old: vorillaz/dreamweaver.svg, new: dreamweaver/dreamweaver-plain.svg
    # SVG change: code: E69E name: eclipse, old: vorillaz/eclipse.svg, new: eclipse/eclipse-plain.svg
    # SVG change: code: E6A1 name: prolog, old: vorillaz/prolog.svg, new: prolog/prolog-plain.svg
    # SVG change: code: E6A4 name: mongodb, old: vorillaz/mongodb.svg, new: mongodb/mongodb-plain.svg
    # SVG change: code: E6A5 name: meteor, old: vorillaz/meteor.svg, new: meteor/meteor-plain.svg
    # SVG change: code: E6A6 name: meteorfull, old: vorillaz/meteorfull.svg, new: meteor/meteor-plain-wordmark.svg
    # SVG change: code: E6A7 name: fsharp, old: vorillaz/fsharp.svg, new: fsharp/fsharp-plain.svg
    # SVG change: code: E6A8 name: rust, old: vorillaz/rust.svg, new: rust/rust-original.svg
    # SVG change: code: E6A9 name: ionic, old: vorillaz/ionic.svg, new: ionic/ionic-original.svg
    # SVG change: code: E6AB name: appcelerator, old: vorillaz/appcelerator.svg, new: appcelerator/appcelerator-original.svg
    # SVG change: code: E6AD name: amazonwebservices, old: vorillaz/aws.svg, new: amazonwebservices/amazonwebservices-plain-wordmark.svg
    # SVG change: code: E6AE name: digitalocean, old: vorillaz/digital_ocean.svg, new: digitalocean/digitalocean-original.svg
    # SVG change: code: E6B0 name: docker, old: vorillaz/docker.svg, new: docker/docker-plain.svg
    # SVG change: code: E6B1 name: erlang, old: vorillaz/erlang.svg, new: erlang/erlang-plain.svg
    # SVG change: code: E6B3 name: grails, old: vorillaz/grails.svg, new: grails/grails-plain.svg
    # SVG change: code: E6B4 name: illustrator, old: vorillaz/illustrator.svg, new: illustrator/illustrator-plain.svg
    # SVG change: code: E6B5 name: intellij, old: vorillaz/intellij.svg, new: intellij/intellij-plain.svg
    # SVG change: code: E6B6 name: materializecss, old: vorillaz/materializecss.svg, new: materializecss/materializecss-plain.svg
    # SVG change: code: E6B8 name: photoshop, old: vorillaz/photoshop.svg, new: photoshop/photoshop-plain.svg
    # SVG change: code: E6BA name: react, old: vorillaz/react.svg, new: react/react-original.svg
    # SVG change: code: E6BB name: redhat, old: vorillaz/redhat.svg, new: redhat/redhat-plain.svg
    # SVG change: code: E6C4 name: sqlite, old: vorillaz/sqllite.svg, new: sqlite/sqlite-plain.svg
    # SVG change: code: E6C5 name: vim, old: vorillaz/vim.svg, new: vim/vim-plain.svg

    # Icon dropped: code: E600 name: bing_small
    # Icon dropped: code: E601 name: css_tricks
    # Icon dropped: code: E605 name: streamline
    # Icon dropped: code: E608 name: github_alt
    # Icon dropped: code: E60A name: github
    # Icon dropped: code: E613 name: appstore
    # Icon dropped: code: E615 name: yahoo
    # Icon dropped: code: E61A name: hackernews
    # Icon dropped: code: E61C name: dojo
    # Icon dropped: code: E620 name: modernizr
    # Icon dropped: code: E623 name: blackberry
    # Icon dropped: code: E62A name: cssdeck
    # Icon dropped: code: E62B name: yahoo_small
    # Icon dropped: code: E62C name: techcrunch
    # Icon dropped: code: E62E name: netmagazine
    # Icon dropped: code: E62F name: codrops
    # Icon dropped: code: E630 name: phonegap
    # Icon dropped: code: E631 name: google_drive
    # Icon dropped: code: E632 name: html5_multimedia
    # Icon dropped: code: E633 name: html5_device_access
    # Icon dropped: code: E634 name: html5_connectivity
    # Icon dropped: code: E635 name: html5_3d_effects
    # Icon dropped: code: E641 name: joomla
    # Icon dropped: code: E64F name: javascript_shield
    # Icon dropped: code: E654 name: jquery_ui
    # Icon dropped: code: E656 name: symfony
    # Icon dropped: code: E65B name: atlassian
    # Icon dropped: code: E65D name: envato
    # Icon dropped: code: E65E name: snap_svg
    # Icon dropped: code: E65F name: raphael
    # Icon dropped: code: E660 name: chart
    # Icon dropped: code: E661 name: compass
    # Icon dropped: code: E662 name: onedrive
    # Icon dropped: code: E665 name: cisco
    # Icon dropped: code: E666 name: nancy
    # Icon dropped: code: E66B name: celluloid
    # Icon dropped: code: E66C name: w3c
    # Icon dropped: code: E66F name: webplatform
    # Icon dropped: code: E671 name: opensource
    # Icon dropped: code: E673 name: uikit
    # Icon dropped: code: E67A name: yeoman
    # Icon dropped: code: E67C name: msql_server
    # Icon dropped: code: E685 name: krakenjs
    # Icon dropped: code: E688 name: sizzlejs
    # Icon dropped: code: E689 name: creativecommons
    # Icon dropped: code: E68A name: creativecommons_badge
    # Icon dropped: code: E68B name: mitlicence
    # Icon dropped: code: E68C name: senchatouch
    # Icon dropped: code: E68D name: bugsense
    # Icon dropped: code: E68E name: extjs
    # Icon dropped: code: E690 name: mootools
    # Icon dropped: code: E692 name: komodo
    # Icon dropped: code: E693 name: coda
    # Icon dropped: code: E694 name: bintray
    # Icon dropped: code: E696 name: code
    # Icon dropped: code: E697 name: responsive
    # Icon dropped: code: E699 name: aptana
    # Icon dropped: code: E69A name: mailchimp
    # Icon dropped: code: E69B name: netbeans
    # Icon dropped: code: E69D name: brackets
    # Icon dropped: code: E69F name: cloud9
    # Icon dropped: code: E6A0 name: scrum
    # Icon dropped: code: E6A2 name: terminal_badge
    # Icon dropped: code: E6A3 name: code_badge
    # Icon dropped: code: E6AC name: asterisk
    # Icon dropped: code: E6B2 name: google_cloud_platform
    # Icon dropped: code: E6B7 name: openshift
    # Icon dropped: code: E6B9 name: rackspace
    # Icon dropped: code: E6BC name: scriptcs
    # Icon dropped: code: E6BD name: -
    # Icon dropped: code: E6BE name: -
    # Icon dropped: code: E6BF name: -
    # Icon dropped: code: E6C0 name: -
    # Icon dropped: code: E6C1 name: -
    # Icon dropped: code: E6C2 name: -
    # Icon dropped: code: E6C3 name: -

    Generated new mapping with 496 entries

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-13 16:51:22 +01:00
Fini Jastrow
1b34bab199 Devicons: Keep more icons (and update dropbox)
[why]
Some icons that have been dropped from devicons are in wide use and so
we want to keep those at their old codepoints.

The Vorillaz dropbox logo is very old. As the icons we keep from
Vorillaz will not be maintained by any upstream we have the
responsibility to keep it up to date.

[how]
Put the icons in the appropriate folder; icon files taken out of
vorillaz/devicons `!SVG/` directory.

Adapt rules and mapping.

The Dropbox icon has been hand-modified (simplified) with the original
logo as starting point.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-13 16:51:22 +01:00
Fini Jastrow
b2e97b3b65 Devicons: Fix some problematic glyphs
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-13 16:51:22 +01:00
Fini Jastrow
1679d242e2 Devicons: Prepare update
This adds the current mapping file (which has been hand-crafted) and the
scripts to update the Devicons.

This also fixes Vorillaz' typo 'rasberry_pi' -> 'raspberry_pi'.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-13 16:51:22 +01:00
Fini Jastrow
662a61440f font-patcher: Rename glyphs to our ID / Class name
[why]
The glyphnames in the font files are sometimes off. We take them from
the symbol source/font and ofter they are empty or even plain wrong (esp
if we move to other codepoints).

[how]
We have the list of all glyphnames that is generated by collecting all
data from the i_*.sh files. When patching we take this information now
and use it if appropriate.

Make sure the glyphname.json file is included in our zip patcher release
and also in the Docker image. It will run as before if the file can not
be found or is invalid etc.

Suggested-by: Ulices <hasecilu@tuta.io>
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-13 16:51:19 +01:00
Fini Jastrow
0900e07e97 Devicons: Fix wrong glyph ID for sqlite
[why]
sqlite is referred to as sqllite (with two L).

[how]
Correct i_dev and rebuild css and glyphnames via generate-css.sh

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-13 16:50:33 +01:00
Fini Jastrow
f530e22e23 font-patcher: Correct handling of right aligned proportional icons
[why]
The right align check does produce wrong results if a proportional font
is generated.

[how]
Just skip the aspect ratio alignment re-check and leave the work to the
proportional font shifting that is done afterwards anyhow.

Fixes: #1695

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-11-13 16:22:53 +01:00
Fini
300890327a
Merge pull request #1726 from ryanoasis/bugfix/other-weather
Increase weather icons 'other' icons scale
2024-10-30 14:57:05 +01:00
Fini Jastrow
25ee48c0c3 font-patcher: Fix weather icons scale for 'other' icons
[why]
A lot of icons that do not represent a 'weather state' but rather a
'weather event' are in the 'weather state' scaling group which scales
the icons waaaay down. This makes those icons almost unusable in stand
alone use cases.

[how]
Put all the extra icons into a new scaling group that is defined before
the weather state scaling group and thus takes precedence.

Split the final scaling group to have some icons on individual scale.

Fixes: #1708

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-10-30 14:50:15 +01:00
Fini
d3bb7e2964
Merge pull request #1722 from ryanoasis/feature/FontAwesome-scaleing
FontAwesome: Scale glyphs a bit smaller
2024-10-28 23:43:29 +01:00
Fini Jastrow
3936a4881f archive-fonts: Fix shellcheck warning
[why]
archive-fonts.sh:60:10: note: Double quote to prevent globbing and word splitting. [SC2086]

Although the variable can not hold multiple words, it is better to
always quote.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-10-28 23:33:57 +01:00
Fini
02cd12e4de
Merge pull request #1724 from ryanoasis/feature/more-landing-platforms
Increase Powerline overlap (big triangles and more)
2024-10-28 23:27:29 +01:00
Fini Jastrow
525b634c09 Increase Powerline overlap (big triangles and more)
[why]
There are still the annoying vertical colored lines sometimes that turn
up due to subpixel rendering.

[how]
Add "landing platforms" to the big triangular glyphs (E0B8, E0BA, E0BC,
E0BE) and flames (E0C0, E0C2).
The landing platform is approx 7% wide (based on one-cell width, assuming
the glyphs are all rendered 2 cells wide for the "xy2" ones).

Increase the overlap width for patching to 5%.

See also:
Merge request #1551
Merge request #1419
Commit 5e285867
Commit a8b9e1da

Fixes: #1629 (well, not the top problem which is unfixable)

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-10-28 23:07:50 +01:00
Fini Jastrow
c7b28f0f09 FontAwesome: Scale glyphs a bit smaller
[why]
With Nerd Fonts v3.2.0 Font Awesome was updated to 6.5.1.

A lot icons got replaced and so the scaling was completely different
then with the old Font Awesome version as the icons were different.

Some complained that the new icons were to small, so that was fixed with
Nerd Fonts v3.2.1, where the size was increased by "approx 10%".

Now this seems a bit on the big side, so we decrease the size a bit.

[how]
v3.2.0   EM 1400    relative size 1.00
v3.2.1   EM 1200    relative size 1.17
v3.3.0   EM 1300    relative size 1.08

So we go to 92% of v3.2.1, i.e. -8% in height.

Note that the original change with v3.2.1 was +17% instead of the
intended 10% :-(

That 10% was just "some random number out of the blue".

Related: #1588
Fixes: #1614

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-10-28 19:28:22 +01:00
Finii
93300dcb91 [ci] Update FontPatcher.zip 2024-10-28 16:30:02 +00:00
Fini Jastrow
622de682cc font-patcher: Fix patching woff files
[why]
After we added the possibility to process font archives (.ttc) we lost
the ability to process woff and woff2 fonts.

It seems woff(2) files show no font names in fontforge, see
https://github.com/fontforge/fontforge/issues/1964

[how]
Open woff(2) files differently.

Fixes: #1647 (further down)

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-10-28 17:27:06 +01:00
Finii
9f85498d48 [ci] Update FontPatcher.zip 2024-10-28 15:49:02 +00:00
Fini Jastrow
4ab9d898d7 Fixup: Update Font Logos
[why]
Somehow a wrong Font Logos font is commited.

"River" at F381 missing.

[how]
Download font from Font Logos Release page and add that.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-10-28 16:40:20 +01:00
Finii
7ba2bf97da [ci] Update FontPatcher.zip 2024-10-28 15:32:56 +00:00
Fini Jastrow
2123aea420 Update Font Logos to 1.3.0
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-10-28 16:28:01 +01:00
Fini Jastrow
bc044d1df0 CascadiaCode: Mention upstream's NF version
Fixes: #1622

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-10-08 12:43:52 +02:00
Fini Jastrow
72b1ac8ebf archive-fonts: Put fontconfig file into SymbolsOnly package
[why]
If someone uses the SymbolsOnly font that person is likely to also like
the fontconfig setup file.

Fixes: #1713

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-10-08 12:14:26 +02:00
Fini Jastrow
dbab8195f9 archive-fonts: Prevent empty archives
[why]
If there are no font files (e.g. in a font that is not released in repo)
the call succeeds but creates an archive with just the README and no
fonts.

[how]
Fail with an error if not at least one font file is packaged.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-10-08 12:12:09 +02:00
Fini Jastrow
ca668663ac archive-fonts: Prevent wrong README files
[why]
In some abnormal circumstances a README of the previous font can end up
in the next font's archive.

[how]
Remove the README file always directly after packaging.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-10-08 12:10:22 +02:00
Fini
384b1825ea
Merge pull request #1701 from jpawlowski/jpawlowski-patch-1
docs(install): Add PowerShell Web Installer
2024-09-05 13:21:38 +02:00
allcontributors[bot]
78cf90c694
docs: add jpawlowski as a contributor for doc (#1702)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

* doc: Add tools tag for Julian Pawlowski

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>

---------

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-09-05 13:19:19 +02:00
Julian Pawlowski
b622bc3f0a
docs(install): Shrink description for PS Web Install and add 3rd-party link 2024-09-02 19:05:35 +02:00
Julian Pawlowski
7887fe7fea
doc(install): Fix redirect to latest version on PS Gallery
PS Gallery doesn't like the trailing slash
2024-09-01 14:12:00 +02:00
Julian Pawlowski
dae056214f
doc(install): Add PowerShell Web Installer 2024-09-01 13:57:47 +02:00
allcontributors[bot]
f8f0bdaa2b
docs: add doongjohn as a contributor for bug (#1698)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-08-30 13:07:42 +02:00
Fini Jastrow
224174a663 doc: Show RFN permissions more visibly
[why]
The fonts where we are allowed to keep the font name despite the RFN
clause in the license have nothing mentioning of RFN or the exception in
the readmes. But it is recommended (required?) by SIL to inform users of
that exception in a most transparent way.

[how]
Add that bit of information to the readme files in the patched-fonts
directories and the release archives.

[note]
Also some other information seemed to be missing, by the complete
rebuild of the readme it also got updated (Gohu/ProFont).

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-08-30 12:57:59 +02:00
Fini Jastrow
66ae03de2e shellcheck.sh: Unify variable style
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-08-28 09:32:03 +02:00
Fini Jastrow
d294607b12 cheatsheet.sh: Make CWD independent
[why]
Sometimes people like to call the scripts from any directory and do not
want to change into the bin/scripts/ directory first.

[how]
Just access the lib files relative to the cheatsheet script file.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-08-28 09:32:03 +02:00
Fini Jastrow
e6bba1b43f Remove editor specific config file
I do not even know which editor that might be ;-)

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-08-28 09:25:35 +02:00