Skip to content

Commit

Permalink
Introducing FontRendererMixin
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas-C committed Jan 24, 2025
1 parent 61f3765 commit bd35673
Show file tree
Hide file tree
Showing 11 changed files with 838 additions and 784 deletions.
1 change: 1 addition & 0 deletions docs/Internals.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,5 @@ drawing.py & svg.py packages
## Text shaping ?
+ add a diagram of the main links between modules/classes
-->
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 @@ -33,7 +33,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 bd35673

Please sign in to comment.