matplotlib / matplotlib/matplotlib
[ENH] Support for SBIX-encoded colour glyphs
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 23.2k
- Forks
- 8.5k
- Ø Merge
- 1 T. 6 Std.
- Gemergte PRs (30 T.)
- 66
Beschreibung
Colour glyphs using the SBIX tables are PNG/JPEG/TIFF images embedded instead of vector glyphs, using tables designed by Apple. FreeType only supports PNG here, with the `png` option linking to `libpng` that we don't currently enable. FreeType has [some example code](https://freetype.org/freetype2/docs/reference/ft2-font_testing_macros.html#ft_has_sbix) for working with bitmap fonts.
Hopefully, as with CBDT/CBLC, we can extract the glyph data and pass it to Pillow (and thus support the other formats as well!)
The major font using this is likely the Apple Color Emoji font, at least based on the copy I found...
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, den bestehenden Pfad zur Glyphenextraktion für CBDT/CBLC und die Prüfung der FreeType-Funktionen nachzuverfolgen. Vergleiche diesen Pfad mit SBIX-Tabellen und überprüfe anschließend, dass eingebettete PNG-, JPEG- und TIFF-Glyphendaten Pillow erreichen können und dass Apple Color Emoji korrekt gerendert wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- computer-graphics
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100