We need some kind of mapping from generic css font-families like sans-serif or fantasy to hardware fonts installed on the machine
Also we need a font-selection algorithm that takes a list of specifiers and spits out an "infinite" list of fonts.
The algorithm should be doing following things:
Find all OS fonts
Select them depending on font-family, font-style, font-weight and maybe more
To implement this, it might not be sufficient to use pygame.
We need some kind of mapping from generic css font-families like
sans-serif
orfantasy
to hardware fonts installed on the machineAlso we need a font-selection algorithm that takes a list of specifiers and spits out an "infinite" list of fonts. The algorithm should be doing following things:
font-family
,font-style
,font-weight
and maybe moreTo implement this, it might not be sufficient to use
pygame
.