MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / get_font_pptcstyle

Function get_font_pptcstyle

utils/src/utils.py:39–41  ·  view source on GitHub ↗
(font: dict)

Source from the content-addressed store, hash-verified

37
38
39def get_font_pptcstyle(font: dict):
40 font = SimpleNamespace(**font)
41 return f"Font Style: bold={font.bold}, italic={font.italic}, underline={font.underline}, size={font.size}pt, color={font.color}, font style={font.name}\n"
42
43
44def get_font_style(font: dict):

Callers 1

to_pptcMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected