1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-13 17:18:37 +02:00
Commit Graph

1248 Commits

Author SHA1 Message Date
Ryan L McIntyre
3bb002c395 Add font patcher to release in separate job 2022-01-03 02:15:14 -08:00
Ryan L McIntyre
e630dd1697 Fixes use of archive, archive patcher and cleanup 2022-01-03 00:53:22 -08:00
Ryan L McIntyre
2f429c8fac Cleanup incorrect license files in patched dirs 2022-01-02 08:57:00 -08:00
Ryan L McIntyre
6748326a90 RC: Upload multiple paths 2022-01-01 10:23:38 -08:00
Ryan L McIntyre
c1d81cdda8 Tweak RC for less fonts and try wildcard pattern for artifact upload, comments out commit for now 2022-01-01 07:50:03 -08:00
Ryan L McIntyre
877fef6831 use smaller subset of fonts in RC and do a single commit using artifacts between jobs 2022-01-01 06:48:04 -08:00
ryanoasis
de13c66797 Rebuilds patched fonts 2022-01-01 00:28:50 +00:00
ryanoasis
c45941eee5 Rebuilds patched fonts 2022-01-01 00:28:16 +00:00
ryanoasis
331b3c1fbb Rebuilds patched fonts 2022-01-01 00:27:47 +00:00
ryanoasis
e3f60ecc88 Rebuilds patched fonts 2022-01-01 00:27:28 +00:00
Ryan L McIntyre
d3e09c2a29 Attempt fix build action 2021-12-31 08:11:51 -08:00
ryanoasis
447c6246c2 Rebuilds patched fonts 2021-12-31 23:10:29 +00:00
ryanoasis
187d9e0312 Rebuilds patched fonts 2021-12-31 23:10:15 +00:00
ryanoasis
381d398ce8 Rebuilds patched fonts 2021-12-31 23:10:08 +00:00
ryanoasis
01bd1062b6 Rebuilds patched fonts 2021-12-31 23:09:33 +00:00
ryanoasis
9ed2450224 Rebuilds patched fonts 2021-12-31 23:09:12 +00:00
ryanoasis
7f3ea3c5c5 Rebuilds patched fonts 2021-12-31 23:08:36 +00:00
ryanoasis
5f9e05a149 Rebuilds patched fonts 2021-12-31 23:07:22 +00:00
Ryan L McIntyre
bd8f3c56eb Get all the fonts for the release matrix 2021-12-31 06:54:14 -08:00
ryanoasis
7648367146 Rebuilds patched fonts 2021-12-24 23:16:28 +00:00
ryanoasis
34a9f6717d Rebuilds patched fonts 2021-12-24 23:12:45 +00:00
ryanoasis
20c4134e09 Rebuilds patched fonts 2021-12-24 23:03:25 +00:00
ryanoasis
85527ad378 Rebuilds patched fonts 2021-12-24 22:55:50 +00:00
ryanoasis
0a5366e232 Rebuilds patched fonts 2021-12-24 22:55:38 +00:00
ryanoasis
86b7e926e8 Rebuilds patched fonts 2021-12-24 22:53:36 +00:00
Ryan L McIntyre
a5b43f63bb
Merge pull request #736 from ryanoasis/feature/remove-selection-todo
font-patcher: Copy selection instead of continuously regenerating
2021-12-24 14:39:36 -08:00
Ryan L McIntyre
855e707f43 Updates metadata 2021-12-24 05:58:40 -08:00
ryanoasis
4bcd43c4c0 Rebuilds patched fonts 2021-12-24 19:54:53 +00:00
ryanoasis
f61aace253 Rebuilds patched fonts 2021-12-24 19:42:49 +00:00
ryanoasis
d68f64e153 Rebuilds patched fonts 2021-12-24 19:34:56 +00:00
ryanoasis
1389ba8a2c Rebuilds patched fonts 2021-12-24 19:28:31 +00:00
Ryan L McIntyre
87caa467cc
fix license link 2021-12-24 11:26:44 -08:00
ryanoasis
056483b420 Rebuilds patched fonts 2021-12-24 19:22:04 +00:00
ryanoasis
b60101f534 Rebuilds patched fonts 2021-12-24 19:21:25 +00:00
ryanoasis
5bc87a4a3e Rebuilds patched fonts 2021-12-24 19:20:28 +00:00
Ryan L McIntyre
c63600d124 Setup release action to pull version from file and commit back upon patching 2021-12-24 03:07:20 -08:00
Ryan L McIntyre
60bf84536a Updates info and simplifies some sections 2021-12-24 03:07:20 -08:00
allcontributors[bot]
efc2a57f7f
docs: add cstrahan as a contributor for code (#738)
* docs: update CONTRIBUTORS.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-12-22 14:04:11 -08:00
Fini Jastrow
c728079b61 font-patcher: Simplify output code
[why]
The code around `currentSourceFontGlyph` and `copiedToSlot` is
needlessly complex and checks for conditions that are impossible to
occur (possibly because the algorithm was different in the past).

It becomes rather hard to follow which variable holds what kind of value
and when.

[how]
Drop all the string-that-contain-hex-numbers stuff and use a regular
integer list/variable.

Format the string when it is output.

Drop obsolete checks.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2021-12-22 21:32:14 +01:00
Ryan L McIntyre
90572b9542 Merge branch 'cstrahan-codicon' 2021-12-22 06:01:24 -08:00
Ryan L McIntyre
f2b52fa695
Merge pull request #705 from cstrahan/codicon
add support for codicons
2021-12-22 14:00:01 -08:00
Ryan L McIntyre
611f9279f9
Merge branch 'master' into codicon 2021-12-22 13:28:52 -08:00
Ryan L McIntyre
66adcfe7c9
Merge pull request #695 from ryanoasis/feature/panose-monospaced
font-patcher: Improve 'Mono' compatibility with Windows
2021-12-22 13:17:48 -08:00
Duda Oliveira
4910a31b99 Fix typo: orignal -> original 2021-12-22 20:13:27 +01:00
Fini Jastrow
7e92302c12 font-patcher: Be explicit what shall be transformed
[why]
In the patch loop we use two methods to do something with the glyphs
- the glyph object directly (i.e. font[codepoint])
- a selection of glyphs in the font

Using the selection is a bit anonymous and depends on lines far away
(where the selection is set); direct glyph access seems to be easier
understood and is used almost everywhere.

Direct glyph access can not be used for copy() and paste(), but for
everything else.

[how]
The direct glyph addressing is already in use almost for everything, but
not for the transform() calls. This is changed.
Now we transform a specific glyph and not 'all selected glyphs' (with
selection = that specific glyph).

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2021-12-22 15:00:39 +01:00
Fini Jastrow
355a7c55a8 font-patcher: Remove unneeded code
[why]
The selection is never used.

Later in the code we use a sourceFont selection to paste the glyphs into
it, but that is selected just there, before, and locally not totally.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2021-12-22 14:59:03 +01:00
Fini Jastrow
a19800195a font-patcher: Copy selection instead of continuously regenerating
[why]
This is a TODO item. Well, two in fact.

The symbolFont's selection is used for two things
- the main loop to iterate over all glyphs to insert
- to select the one glyph that is actually copied over

Because the main loop uses iterators on the selection.
The iterator is not 'stable' but invalidates if the selection
is changed.
The current code therefor restores the old selection before the loop
jumps to the head again.

This design is not very robust.

[how]
We need the selection to copy the symbol glyph.

But we can rewrite the loop that it does not need the selection at every
iteration, but that the selection is copied into a list, and we loop
over that list - which is independent on a later selection state.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2021-12-22 14:50:08 +01:00
Ryan L McIntyre
725c9df524 Follow up changes for new Codicons glyph set 2021-12-22 05:47:28 -08:00
Ryan L McIntyre
db026dd5c9
reworks and simplifies issue template 2021-12-19 19:25:27 -08:00
Ryan L McIntyre
2bd851f24a
simplifies the PR template
* patcher is now tested in github action and other scripts soon to be
* other reading doesn't really make sense for PRs (more for issues)
2021-12-19 19:20:06 -08:00