mirror of
https://github.com/gumyr/build123d.git
synced 2026-03-14 10:41:36 -07:00
Fixed issue #41
This commit is contained in:
parent
4b85aaccd3
commit
787e00a679
1 changed files with 6 additions and 0 deletions
|
|
@ -5,6 +5,8 @@ TODO:
|
|||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
import os
|
||||
import sys
|
||||
from math import pi, sqrt, inf, radians
|
||||
import warnings
|
||||
import logging
|
||||
|
|
@ -3972,6 +3974,10 @@ class Compound(Shape, Mixin3D):
|
|||
wire_angle,
|
||||
)
|
||||
|
||||
if sys.platform.startswith("linux"):
|
||||
os.environ["FONTCONFIG_FILE"] = "/etc/fonts/fonts.conf"
|
||||
os.environ["FONTCONFIG_PATH"] = "/etc/fonts/"
|
||||
|
||||
font_kind = {
|
||||
FontStyle.REGULAR: Font_FA_Regular,
|
||||
FontStyle.BOLD: Font_FA_Bold,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue