Skip to content

Commit 6e004ee

Browse files
committed
Introducing FontRendererMixin
1 parent 61f3765 commit 6e004ee

11 files changed

+843
-784
lines changed

Diff for: docs/Internals.md

+1
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,5 @@ drawing.py & svg.py packages
9494
9595
## Text shaping ?
9696
97+
+ add a diagram of the main links between modules/classes
9798
-->

Diff for: 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:

Diff for: fpdf/fonts.py

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

3434
from .deprecation import get_stack_level
3535
from .drawing import convert_to_device_color, DeviceGray, DeviceRGB
36-
from .enums import FontDescriptorFlags, TextEmphasis, Align
36+
from .enums import Align, FontDescriptorFlags, TextEmphasis
3737
from .syntax import Name, PDFObject
3838
from .util import escape_parens
3939

0 commit comments

Comments
 (0)