Commit Graph

609 Commits (a80e47fb2e398be64143f5e432165164a39f8865)

Author SHA1 Message Date
Rod S a80e47fb2e Updated the COLRv1 fonts 2022-08-17 19:50:31 -07:00
Rod S 289444b585 2.036 CBDT 2022-08-17 14:08:35 -07:00
Rod S 5cb1a131c6 Update version 2022-08-17 14:03:24 -07:00
Rod S 1456cb03b8 Update png/128 and svg/ with Jennifer's latest changes 2022-08-17 13:55:20 -07:00
Rod S d2df12fccd Rebuilt COLR fonts 2022-08-12 14:14:26 -07:00
Rod S adc89f825b Update COLRv1 config to include U15 content 2022-08-12 14:14:26 -07:00
Rod S e6941f8d1d Rebuild CBDT after catching up repo with downstream changes 2022-08-12 14:14:26 -07:00
Rod S 59e94e9e78 Update the CBDT font 2022-08-12 14:14:25 -07:00
Rod S d08111dcbf We need nototools to support U15 2022-08-12 14:14:25 -07:00
Rod S eabd1f54c6 v2.035 2022-08-12 14:14:25 -07:00
Rod S 7aef3417cb Emoji 15 assets, take 1 2022-08-12 14:14:25 -07:00
Rod 14d0d1f243
Update README.md 2022-08-12 14:13:45 -07:00
Rod 14359c8a98
Merge pull request #10 from googlefonts/catch_ds
Pull changes made to downstream back up
2022-08-12 11:46:02 -07:00
Jennifer Daniel 3ee516e14f
Update README.md 2022-08-11 07:35:56 -04:00
Cosimo Lupo 86c19b00b7
Merge pull request #399 from googlefonts/generate-colrv1-configs
add script to generate colrv1 configs by globbing the relevant *.svg files
2022-07-21 17:41:21 +01:00
Cosimo Lupo 93be998cac colrv1/README.md: recommend to regenerate configs as initial step before build 2022-07-21 15:42:55 +02:00
Cosimo Lupo b0a855e2db regenerate colrv1/*.toml files using new colrv1_generate_configs.py script 2022-07-21 15:30:15 +02:00
Cosimo Lupo e5666815c1 [colrv1] add script to regenerate nanoemoji configs by globbing source *.svg sources
Fixes https://github.com/googlefonts/noto-emoji/issues/397
2022-07-21 15:30:15 +02:00
Cosimo Lupo 81a3995aa3
Merge pull request #389 from googlefonts/colrv1
COLRv1 edition
2022-07-21 09:57:05 +01:00
rsheeter c0040cb09c
Merge pull request #387 from SaveTheRbtz/mistypes1
Fix trivial mistypes w/ codespell
2022-05-05 19:32:36 -07:00
Rod S bc8671f7c9 Update to latest compiler 2022-05-04 21:32:55 -07:00
Rod S dc8968de5f Remove now unnecessary files per code review 2022-05-04 21:02:17 -07:00
rsheeter 2203a22176
Merge pull request #388 from SaveTheRbtz/removeOldFont
Remove outdated NotoEmoji-Regular.ttf
2022-04-03 19:11:05 -07:00
Alexey Ivanov 1442f6acc8 Remove outdated NotoEmoji-Regular.ttf
B/W font was not updated for quite a while and stuck at 1.05 (fontversion 68813). Should it be deprecated at this point and removed from the repo?
2022-04-03 15:07:51 -07:00
Alexey Ivanov e0aa941257 fix trivial mistypes w/ codespell 2022-04-02 22:05:51 -07:00
Cosimo Lupo dc4a1a9ac7 Rebuild Noto-COLRv1 fonts
The only change is the .notdef glyph now has an outline thanks to https://github.com/googlefonts/nanoemoji/pull/379
2022-02-22 15:13:20 +00:00
Cosimo Lupo 8598b69ad3 requirements.txt: bump nanoemoji==0.12.2 2022-02-22 11:40:11 +00:00
Rod S 5bf4fd2a7e Config for a very large emoji font 2022-02-19 18:49:14 -08:00
Rod S 558c02485a Font files 2022-02-19 18:48:54 -08:00
rsheeter e667644ec5
Merge pull request #378 from googlefonts/colrv1-handle-unknown-flags
Colrv1 handle unknown flags and don't include region indicators in noflags build
2022-02-03 19:16:10 -08:00
Cosimo Lupo 083b7fcad7 colrv1_postproc.py: handle missing regional indicators in noflags font
don't bother to do textwrap.dedent, as whitespace doesn't matter in FEA code
2022-02-03 19:13:48 +00:00
Cosimo Lupo ec10159d1f colrv1/noflags.toml: exclude regional indicator symbols from noflags font 2022-02-03 19:05:13 +00:00
Cosimo Lupo 631766222f empty subdivision flag (1F3F4+E007F) should be mapped to uknown flag, not the black flag
The substitution BLACK_FLAG + CANCEL_TAG => UNKNOWN_FLAG is alrady handled by the _add_fallback_subs_for_unknown_flags method, added in the previous commit.
There's no BLACK_FLAG + CANCEL_TAG => BLACK_FLAG substituion in the current NotoColorEmoji.ttf CBDT font.
In fact, it makes much more sense that all unsupported subdivision flag sequences, i.e. BLACK_FLAG + (zero or more non-cancel tags) + CANCEL_TAG, are all displayed with the unknown flag. No reason to special case BLACK_FLAG + CANCEL_TAG.
I'm not sure where the conclusion about the BLACK_FLAG + CANCEL_TAG => BLACK_FLAG came from (got to ask Rod).
2022-02-03 12:28:16 +00:00
Cosimo Lupo f8ec04e4a3 colrv1_postproc: add GSUB lookups replacing unsupported flags with the 'unknown flag'
Any invalid/unsupported emoji flag sequence (whether using regional indicators or subdivision tags) gets replaced by the 'unknown flag' (PUA 0xFE28B), a flag with a blue question mark in the middle.

The logic is mutated from the GSUB table of NotoColorEmoji.tmpl.ttx. We build these extra lookups using feaLib on an temporary empty font (that matches the glyph order of our destination CORLv1 font), then update our font's GSUB with them.
The PUA for the unknown flag is then removed from the cmap, as it's no longer needed. It's also deleted from the CBDT NotoColorEmoji (see emoji_builder.py).
2022-02-03 12:15:46 +00:00
Rod S 2a9ee805d6 Rebuilt with nanoemoji==0.11.1, picosvg==0.20.1 2022-02-02 17:46:51 -08:00
Cosimo Lupo 7de262169b Rebuilt Noto-COLRv1 fonts with nanoemoji 0.11.1 2022-02-02 10:59:57 +00:00
Cosimo Lupo 1136b6a210 Update nanoemoji >=0.11.1 in requirements.txt 2022-02-02 10:58:36 +00:00
Rod S 4fac75b218 Exploratory font with many color tables 2022-01-31 17:33:15 -08:00
Rod S 16f5f57a79 Rebuilt w/soft light 2022-01-28 21:32:55 -08:00
Cosimo Lupo b83718269e colrv1_postproc: add vhea and vmtx to colrv1 font
copy values from CBDT font, adapt to the different UPEM (CBDT has 2048, COLRv1 has 1024, nanoemoji's default)
Maybe we shold just make the UPEM the same for both?
2022-01-26 16:47:00 +00:00
Cosimo Lupo 5d4f4d6b38 run black on colrv1_postproc.py script to fix indentation 2022-01-26 16:09:18 +00:00
rsheeter 831faf480d
Merge pull request #377 from googlefonts/colrv1-waved
Colrv1 waved => colrv1
2022-01-25 09:48:11 -08:00
Cosimo Lupo 5a04ef08ee call add_soft_light_to_flags from colrv1_postproc.py script 2022-01-24 18:07:11 +00:00
Cosimo Lupo 2188c2d237 also add soft-light to flags from emoji_aliases.txt 2022-01-24 18:06:46 +00:00
Cosimo Lupo 33f930ba7f add symlinks for flags from emoji_aliases.txt
Run command:
python add_aliases.py -e svg -a emoji_aliases.txt -s third_party/region-flags/waved-svg
2022-01-24 15:43:26 +00:00
Cosimo Lupo 43f5cc0153 delete svg files for flags' border and soft-light
they are no longer needed because the border is already in the original waved flags, and the soft ligth is added by a script
2022-01-24 15:40:06 +00:00
Cosimo Lupo e4df897e53 rebuild waved flags with border using latest rsheeter/warp
https://github.com/rsheeter/warp/pull/24
2022-01-19 12:50:52 +00:00
Cosimo Lupo 13892a930c only post-process soft-light for flags, border will be added in the input SVGs and thus in COLRv1 font
the border can be added directly to the input waved flags SVGs like a regular path, we don't need to use PaintComposite multiply operator, regular alpha blending produces the same effect since the border is a semi transparent shade of gray.

I renamed the script colrv1_add_soft_light_to_flags.py, and modified so that it doesn't require any additional glyphs to be present; an unbounded PaintLinearGradient is built on the fly and clipped using the flag as a mask (using SRC_IN compositing mode).
2022-01-19 10:52:28 +00:00
Cosimo Lupo 24ccbd2377 rebuild all waved flags with new aspect ratio and margins
https://github.com/rsheeter/warp/pull/21
2022-01-14 17:18:20 +00:00
Cosimo Lupo bc3a2584ad Add script to update NotoColorEmoji-COLRv1 with flags' border and soft-light effect 2022-01-14 16:53:37 +00:00