Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)
Returns what's in there

        def getRegisteredFontNames():
    "Returns what's in there"
    reg = list(_fonts.keys())
    reg.sort()
    return reg
        


src/o/p/openerp-core-7.0.406/openerp/report/render/rml2pdf/trml2pdf.py   openerp-core(Download)
def select_fontname(fontname, default_fontname):
    if fontname not in pdfmetrics.getRegisteredFontNames()\
         or fontname not in pdfmetrics.standardFonts:
        # let reportlab attempt to find it
        try:

src/d/a/Dabo-0.9.6/dabo/lib/reportWriter.py   Dabo(Download)
from reportlab.lib.utils import ImageReader
from dabo.lib.utils import ustr, resolvePathAndUpdate
from reportlab.pdfbase.pdfmetrics import registerFont, getRegisteredFontNames
from reportlab.pdfbase.ttfonts import TTFont, TTFError
from reportlab.rl_config import TTFSearchPath
	def setFont(self, psfontname, size, leading=None):
		if leading is None:
			leading = size
		if psfontname not in getRegisteredFontNames():
			if psfontname in dabo.reportTTFontFileMap:

src/d/a/dabo-HEAD/dabo/lib/reportWriter.py   dabo(Download)
from reportlab.lib.utils import ImageReader
from dabo.lib.utils import ustr, resolvePathAndUpdate
from reportlab.pdfbase.pdfmetrics import registerFont, getRegisteredFontNames
from reportlab.pdfbase.ttfonts import TTFont, TTFError
from reportlab.rl_config import TTFSearchPath
	def setFont(self, psfontname, size, leading=None):
		if leading is None:
			leading = size
		if psfontname not in getRegisteredFontNames():
			if psfontname in dabo.reportTTFontFileMap: