Commit graph

2658 commits

Author SHA1 Message Date
Fini Jastrow
ef6bf1b85b 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-09-06 13:34:28 +02:00
Fini Jastrow
a8f222d48f 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-09-06 13:34:28 +02:00
Fini Jastrow
59475c9d58 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-09-06 13:34:28 +02:00
Fini Jastrow
a70548653e 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-09-06 13:19:53 +02:00
Fini Jastrow
065dba5dbb 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-09-06 13:19:53 +02:00
Fini Jastrow
9f936b91f8 Devicons: Fix some problematic glyphs
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-08-27 16:19:35 +02:00
Fini Jastrow
224a7d26c0 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-08-27 16:19:35 +02:00
Fini Jastrow
71e7ae0b45 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-08-25 17:45:57 +02:00
Fini Jastrow
a3f1b9e24c 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-08-25 17:35:06 +02:00
Fini Jastrow
a2697b0fef doc: Update license-audit with information from fonts.json [skip ci]
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-07-17 11:29:58 +02:00
Fini Jastrow
9c7fa1c9a7 Monaspace: Add ExtraLight Italic
Fixup of previous commit.
Fixes: #1670

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-06-30 17:50:54 +02:00
Fini Jastrow
264c7383e6 Monaspace: Add ExtraLight to prepatched set
Fixes: #1670

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-06-30 16:19:47 +02:00
Fini Jastrow
11ab942893 gitlab: Small change on bug template
[why]
Make sure the examples are understood correctly and add some more info.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-06-26 10:03:44 +02:00
guse
87402e09c2 fix: update labels and make checkboxes not required 2024-06-26 10:03:44 +02:00
guse
480f741d3b feat: improve feature request template 2024-06-26 10:03:44 +02:00
guse
fce46e4ba5 feat: improve bug report template 2024-06-26 10:03:44 +02:00
allcontributors[bot]
9f90a4ecb7
docs: add mdsanima as a contributor for maintenance (#1669)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-06-26 07:15:30 +02:00
allcontributors[bot]
443ebe986f
docs: add gu5e as a contributor for doc (#1668)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-06-26 07:09:31 +02:00
Fini Jastrow
a4ddd1e867 Fix Gohufont 14 question mark
Also clean up README situation.

Fixes: #1652

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-06-18 13:13:00 +02:00
Fini Jastrow
4e0ed0fbb0 Prepare Gohufont 14 question mark fix
[why]
Ordinary questionmark and inverted questionmark in upstream Gohufont 14
have the same glyph name, breaking the font.

[how]
Rename the inverted questionmark to the customary "inverted" via ttx.

This just prepares the change.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-06-18 13:13:00 +02:00
Fini Jastrow
45c432fe0d doc: State that no patched fonts are to be manually committed
[why]
It is explicitely explained for updating fonts but not for new fonts.

[how]
Copy appropriate text passage to new fonts paragraph.

Fixes: #1655

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-06-18 08:30:09 +02:00
allcontributors[bot]
6e7dc49ec4
docs: add dsvoid as a contributor for bug (#1653)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-06-11 20:40:39 +02:00
allcontributors[bot]
f43607afcc
docs: add kjkent as a contributor for bug (#1649)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-06-02 08:57:11 +02:00
Finii
91532f91d9 [ci] Update FontPatcher.zip 2024-06-02 06:51:23 +00:00
Fini Jastrow
b95c671ccb font-patcher: Fix behavior when trying to patch non-font files
[why]
When the file specified to be patched is not a font file the patcher run
errors out with an out of index runtime error:

Traceback (most recent call last):
  File "/home/fini/extra/git/nerd-fonts/font-patcher", line 2155, in <module>
    main()
  File "/home/fini/extra/git/nerd-fonts/font-patcher", line 2147, in main
    patcher.generate(sourceFonts)
  File "/home/fini/extra/git/nerd-fonts/font-patcher", line 415, in generate
    sourceFont = sourceFonts[0]
                 ~~~~~~~~~~~^^^
IndexError: list index out of range

[how]
Do not assume that the specified file will be a font file but rather
check if fontforge detects a font in the file and error out if there is
no font found.

Fixes: #1647

Reported-by: Kristopher James Kent <kris@kjkent.dev>
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-06-02 08:48:31 +02:00
allcontributors[bot]
f647334ead
docs: add veritem as a contributor for doc (#1640)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-05-19 15:56:16 +02:00
Fini Jastrow
0e3e1c8c3e doc: Fix Homebrew in readme translations
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-05-19 15:55:52 +02:00
Fini Jastrow
96542aa983 doc: Correct moved Homebrew repo in readme.md
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-05-19 15:55:52 +02:00
Verité Mugabo
b93ff755aa chore(installation): remove cast installation as it errors out 2024-05-19 15:55:52 +02:00
Fini Jastrow
3043085331 ShareTechMono: Remove fi/fl ligs
[why]
When we crate the hard-monospaced Nerd Font Mono variant the ligs will
be shrunk to 1 cell wide, while the content of the `fi` lig is of course
two cells, ending up in strange overwriting issues.

[how]
Remove the `fl` and `fi` ligatures completely.

Fixes: 1631

Reported-by: @Markov-Komarov
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-05-08 14:23:01 +02:00
allcontributors[bot]
c0ccf85dc1
docs: add Markov-Komarov as a contributor for bug (#1632)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-05-08 13:36:43 +02:00
Finii
f182364cf4 [ci] Update FontPatcher.zip 2024-05-06 20:43:45 +00:00
Fini Jastrow
edbce6f1e3 font-patcher: Fix escaping fix
[why]
With Terminess the regex needs to match literal parens, this has been
misunderstood with the last commit.

[how]
Revert the previous commit for Terminess, and use a raw string as
solution instead (because we usually use raw strings for regexes).

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-05-06 22:40:26 +02:00
Finii
4ca887fce6 [ci] Update FontPatcher.zip 2024-05-06 20:18:41 +00:00
Fini Jastrow
cb0c9ed1e7 font-patcher: Fix escaping warnings
[why]
Some strings have broken format, because the string should contain a
verbatim backslash.

It seems this is a new warning for Python 3.12

[how]
Use raw strings or escape the escape character via '\\'

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-05-06 22:13:25 +02:00
Fini Jastrow
a5704a532f doc: Slight improvement of contributing guideline
[why]
Often PRs introduce the legacy .../Bold/ etc subdirectory structure.

[how]
Make more clear that a flat directory is preferred.

Also fix several small glitches in the text.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-05-05 09:29:04 +02:00
Fini
ceea01a7cf
All contributors/add my4ng (#1624)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-05-03 08:45:01 +02:00
Finii
4b528bf1b5 [ci] Update FontPatcher.zip 2024-04-26 11:11:43 +00:00
allcontributors[bot]
db900abe1e
docs: add zaucy as a contributor for code (#1619)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-04-26 13:07:34 +02:00
Finii
4b887d6dc4 [ci] Rebuild original-source font 2024-04-26 11:04:41 +00:00
Fini
7c7b01b716
Merge pull request #1610 from zaucy/chore/update-bazel-icon
Improve bazel, ruby, firebase icons
2024-04-26 13:00:29 +02:00
Fini Jastrow
f3949ee393 font-patcher: Increase version after icon shape change
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-26 12:59:04 +02:00
Fini Jastrow
88eae283f6 Update Ruby icon
[why]
Improve legibility by having gaps between the gemstone surfaces.

[how]
There is no official monochrome icon. Found one free pixel one and
converted that to outline.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-26 12:58:21 +02:00
Fini Jastrow
e13ef50861 Update Firebase icon from original icon
[why]
Improve legibility. The full icon is in fact a multicolor icon and the
design depends on being rendered in multiple different colors. That is
impossible for fonts. So we should probably use their flat (mono-color)
icon instead, which hints the different 'flaps' through gaps instead of
colors.

[note]
Both icons (the old and the new) contradict rules given by Firebase to
use the logo. But that can not be helped in a icon font, as we just have
one color of undetermined hue.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-26 12:58:21 +02:00
Fini Jastrow
7d7ab4c3d6 Update Bazel icon from original icon
[why]
The Bazel icon might look nicer with gaps between the surfaces of the
cubes.
That is halfway in-line with the design idea of their logo.

See PR #1610 and link
https://blog.bazel.build/2017/07/05/new-logo-and-homepage.html

[how]
Based on the idea from Ezekiel Warren the Bazel icon gets gaps between
the surfaces of the cubes.
For this we use the skeleton svg icon of the Bazel website and construct
from scratch a new outline to represent the cube surfaces. The original
svg used lines with a width to create the image, which is not compatible
to fonts.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-26 12:58:21 +02:00
Fini Jastrow
548ed2aabd Revert "update bazel svg"
This reverts commit 0c1f0087b4.

[why]
We keep the seti icons unmodified and instead add them as custom if we
introduce any change.
2024-04-26 12:58:21 +02:00
Ezekiel Warren
cdd19c7715 update bazel svg 2024-04-26 12:58:21 +02:00
Finii
bbe37e7f40 [ci] Update FontPatcher.zip 2024-04-23 07:54:03 +00:00
allcontributors[bot]
327d4b8cab
docs: add gibfahn as a contributor for code (#1618)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-04-23 09:45:17 +02:00
Fini Jastrow
9e0ca39200 font-patcher: Increase version after change
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-23 09:43:48 +02:00