Skip to content

Commit

Permalink
Introducing TextRendererMixin
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas-C committed Feb 20, 2025
1 parent 148a716 commit d947b0b
Show file tree
Hide file tree
Showing 11 changed files with 858 additions and 798 deletions.
2 changes: 1 addition & 1 deletion fpdf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
from .fpdf import (
FPDF,
TitleStyle,
FPDF_FONT_DIR as _FPDF_FONT_DIR,
FPDF_VERSION as _FPDF_VERSION,
)
from .html import HTMLMixin, HTML2FPDF
from .prefs import ViewerPreferences
from .template import Template, FlexTemplate
from .text_renderer import FPDF_FONT_DIR as _FPDF_FONT_DIR
from .util import get_scale_factor

try:
Expand Down
2 changes: 1 addition & 1 deletion fpdf/fonts.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __deepcopy__(self, _memo):

from .deprecation import get_stack_level
from .drawing import convert_to_device_color, DeviceGray, DeviceRGB
from .enums import FontDescriptorFlags, TextEmphasis, Align
from .enums import Align, FontDescriptorFlags, TextEmphasis
from .syntax import Name, PDFObject
from .util import escape_parens

Expand Down
Loading

0 comments on commit d947b0b

Please sign in to comment.