The Real Python Podcast cover image

Creating and Manipulating PDFs in Python With borb

The Real Python Podcast

00:00

How Are Fonts Handled Inside of Borb?

Ged: I love learning about new stuff, and i'm not naive enough to think that iam the first person to have to tackle a certain problem. So thereis a good balance between doing it yourself and making use of somebody else's work. Fonts are handled to the level of reading the files and determining attributes that pidef needs from a font is done using the font tools library. And then for certain built in fonts, well, to clarify, pidef defines 16 or something font as being built in, so any reader or writer should support them. For those fonts, i simply looked up the fond files and extracted its attributes manually and put them in there as adjacent

Play episode from 19:50
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app