3 from pygments.formatter import Formatter
5 class PilNotAvailable(ImportError): ...
6 class FontNotFound(Exception): ...
13 def __init__(self, font_name, font_size: int = ...) -> None: ...
14 def get_char_size(self): ...
15 def get_text_size(self, text): ...
16 def get_font(self, bold, oblique): ...
18 class ImageFormatter(Formatter):
23 default_image_format: str
33 line_number_chars: Any
35 line_number_italic: Any
38 line_number_separator: Any
40 line_number_start: Any
41 line_number_width: Any
45 def __init__(self, **options) -> None: ...
46 def get_style_defs(self, arg: str = ...) -> None: ...
47 def format(self, tokensource, outfile) -> None: ...
49 class GifImageFormatter(ImageFormatter):
53 default_image_format: str
55 class JpgImageFormatter(ImageFormatter):
59 default_image_format: str
61 class BmpImageFormatter(ImageFormatter):
65 default_image_format: str