1# Copyright 2022 vkit-x Administrator. All Rights Reserved.
2#
3# This project (vkit-x/vkit) is dual-licensed under commercial and SSPL licenses.
4#
5# The commercial license gives you the full rights to create and distribute software
6# on your own terms without any SSPL license obligations. For more information,
7# please see the "LICENSE_COMMERCIAL.txt" file.
8#
9# This project is also available under Server Side Public License (SSPL).
10# The SSPL licensing is ideal for use cases such as open source projects with
11# SSPL distribution, student/academic purposes, hobby projects, internal research
12# projects without external distribution, or other projects where all SSPL
13# obligations can be met. For more information, please see the "LICENSE_SSPL.txt" file.
14from vkit.engine.interface import EngineExecutorAggregatorFactory
15from .type import (
16 FontEngineRunConfigStyle,
17 FontEngineRunConfigGlyphSequence,
18 FontEngineRunConfig,
19 FontCollection,
20 TextLine,
21)
22from .freetype import (
23 font_freetype_default_engine_executor_factory,
24 font_freetype_lcd_engine_executor_factory,
25 font_freetype_monochrome_engine_executor_factory,
26 FontFreetypeDefaultEngine,
27 FontFreetypeLcdEngine,
28 FontFreetypeMonochromeEngine,
29)
30
31font_engine_executor_aggregator_factory = EngineExecutorAggregatorFactory([
32 font_freetype_default_engine_executor_factory,
33 font_freetype_lcd_engine_executor_factory,
34 font_freetype_monochrome_engine_executor_factory,
35])