SVG font support
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 28/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Área
- computer-graphics
Línea de trabajo
Start with the FreeType demo callbacks in rsvg-port.c and the related Pillow issue #3509. Use those references to understand the required SVG-font rendering and licensing integration, then verify that Pillow supports loading and rendering SVG fonts.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
FreeType 2.12 (#6169) adds support for color fonts in SVG format.
From https://github.com/freetype/freetype/commit/21d0fa374200aecc6605daf034a47167ea82ed6f:
FreeType now handles OT-SVG fonts, to be controlled with
FT_CONFIG_OPTION_SVGconfiguration macro. By default, it can
only load the 'SVG ' table of an OpenType font. However, by using
thesvg-hooksproperty of the new 'ot-svg' module it is possible
to register an external SVG rendering engine. The FreeType demo
programs have been set up to use 'librsvg' as the rendering
library.
It would be nice to add support for this to Pillow.
librsvg appears to be LGPL-2.1 licensed, so a wrapper similar to that used for FriBiDi/Raqm may be needed.
This is closely related to loading SVG images in Pillow, it may be possible to add support for both at once: #3509
For reference, the freetype demo callbacks are here: https://gitlab.freedesktop.org/freetype/freetype-demos/-/blob/master/src/rsvg-port.c
- Lenguaje dominante
- Python
- Estrellas
- 14k
- Forks
- 2.6k
- Merge medio
- 1 d 1 h
- PR fusionados (30 d)
- 205
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de python-pillow/Pillow
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
python-pillow/Pillow#10590 ·
Los mantenedores suelen responder en 1 día
-
Image.thumbnail() raises ZeroDivisionError when the target height is 0Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
python-pillow/Pillow#10589 ·
Los mantenedores suelen responder en 1 día
-
Sun raster files with RLE encoding and odd-width rows decode shiftedPosiblemente ocupada @PerryLink la tomó hace 21 días. Abierto🤖-assisted
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
python-pillow/Pillow#10370 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Warn that pre-applying arabic_reshaper + python-bidi corrupts text on a Raqm buildPosiblemente ocupada @Syamjith-NK la tomó hace 85 días. AbiertoDocumentation Font Rendering PNG Third Party Framework
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
python-pillow/Pillow#9907 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Example code in ImageText documentation makes incorrect use of get_bbox()Posiblemente ocupada @mmporong la tomó hace 1 día. AbiertoDocumentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 25/100
python-pillow/Pillow#10583 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de python-pillow/Pillow
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
vllm-project/vllm#69304 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
interpreter-core type-bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
pydanty:is-working
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
pydantic/pydantic-ai#14187 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
test
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
prebid/salesagent#2676 ·
Los mantenedores suelen responder en 1 día