summaryrefslogtreecommitdiff
path: root/gerbonara/cad
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2024-07-18 13:50:01 +0200
committerjaseg <git@jaseg.de>2024-07-18 13:50:01 +0200
commite3a67161877023e4519749b7d0bb334394a6e444 (patch)
treef1ef2d7c487ad98e57991dd48dbe491c5cad91b1 /gerbonara/cad
parent8950a593f8be66d1258b6519622d30b27e8bb2ce (diff)
downloadgerbonara-e3a67161877023e4519749b7d0bb334394a6e444.tar.gz
gerbonara-e3a67161877023e4519749b7d0bb334394a6e444.tar.bz2
gerbonara-e3a67161877023e4519749b7d0bb334394a6e444.zip
Fix symbol round trip tests
Diffstat (limited to 'gerbonara/cad')
-rw-r--r--gerbonara/cad/kicad/base_types.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerbonara/cad/kicad/base_types.py b/gerbonara/cad/kicad/base_types.py
index c5c04e9..719d5ea 100644
--- a/gerbonara/cad/kicad/base_types.py
+++ b/gerbonara/cad/kicad/base_types.py
@@ -316,8 +316,8 @@ class FontSpec:
face: Named(str) = None
size: Rename(XYCoord) = field(default_factory=lambda: XYCoord(1.27, 1.27))
thickness: Named(float) = None
- bold: OmitDefault(Named(YesNoAtom())) = False
- italic: OmitDefault(Named(YesNoAtom())) = False
+ bold: OmitDefault(Named(LegacyCompatibleFlag())) = False
+ italic: OmitDefault(Named(LegacyCompatibleFlag())) = False
line_spacing: Named(float) = None