Skip to content

Commit 1d97aec

Browse files
committed
Introducing TextRendererMixin
1 parent 148a716 commit 1d97aec

11 files changed

+852
-798
lines changed

fpdf/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
from .fpdf import (
2525
FPDF,
2626
TitleStyle,
27-
FPDF_FONT_DIR as _FPDF_FONT_DIR,
2827
FPDF_VERSION as _FPDF_VERSION,
2928
)
3029
from .html import HTMLMixin, HTML2FPDF
3130
from .prefs import ViewerPreferences
3231
from .template import Template, FlexTemplate
32+
from .text_renderer import FPDF_FONT_DIR as _FPDF_FONT_DIR
3333
from .util import get_scale_factor
3434

3535
try:

fpdf/fonts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def __deepcopy__(self, _memo):
3535

3636
from .deprecation import get_stack_level
3737
from .drawing import convert_to_device_color, DeviceGray, DeviceRGB
38-
from .enums import FontDescriptorFlags, TextEmphasis, Align
38+
from .enums import Align, FontDescriptorFlags, TextEmphasis
3939
from .syntax import Name, PDFObject
4040
from .util import escape_parens
4141

0 commit comments

Comments
 (0)