Wiladams / svgandme

SVG Parser and rendering using blend2d for graphics
MIT License
5 stars 2 forks source link

Feature request: list of the required fonts #11

Open abu-irrational opened 2 months ago

abu-irrational commented 2 months ago

Hi William, I think it could be useful a method of the SVGDocument class returning something like a list (or a vector..) of the required font-families for a given instance of a SVGDocument. Moreover, it should be useful to know whether these required font-familes has been properly paired with a loaded font, or whether they have been replaced with other available default fonts.

Wiladams commented 2 months ago

That’s a good request. It gets interesting when the font-family is something like “serif”. Or there are lists for family name: “serif, Times New Roman, Arial”

Sent from my iPad

On Jul 8, 2024, at 2:19 PM, abu-irrational @.***> wrote:



Hi William, I think it could be useful a method of the SVGDocument class returning something like a list (or a vector..) of the required font-families for a given instance of a SVGDocument. Moreover, it should be useful to know whether these required font-familes has been properly paired with a loaded font, or whether they have been replaced with other available default fonts.

— Reply to this email directly, view it on GitHubhttps://github.com/Wiladams/svgandme/issues/11, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AADPXIQEQGPL42BPBD27B2LZLLX5LAVCNFSM6AAAAABKRQNIGCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TMNBZGIZDKNI. You are receiving this because you are subscribed to this thread.Message ID: @.***>