mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
use FontPool for loading fonts
This commit is contained in:
parent
eff32dce7d
commit
fccf01715c
@ -125,7 +125,7 @@ class Loader:
|
|||||||
ModelPool.releaseModel(modelPath)
|
ModelPool.releaseModel(modelPath)
|
||||||
|
|
||||||
# font loading funcs
|
# font loading funcs
|
||||||
def loadFont(self, modelPath, priority = 0,
|
def loadFont(self, modelPath,
|
||||||
spaceAdvance = None, pointSize = None,
|
spaceAdvance = None, pointSize = None,
|
||||||
pixelsPerUnit = None, scaleFactor = None,
|
pixelsPerUnit = None, scaleFactor = None,
|
||||||
textureMargin = None, polyMargin = None,
|
textureMargin = None, polyMargin = None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user