mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-26 08:04:13 +01:00
Fix #1611: all the weights of a font in the Windows installer again
The installer's "Lancer QET.bat" still started QElectroTech with "-platform windows:fontengine=freetype", a Qt5 workaround for QTBUG-83161. Qt6 renders with DirectWrite and does not need it. The FreeType engine lists a font by its GDI family only: Bahnschrift showed as one family with Normal/Bold/Italic/Bold Italic, and the Light, SemiLight and SemiBold families were gone. A text already set to "Bahnschrift SemiLight" fell back to another font (Tahoma). Checked with Qt 6.10.3 and 6.12.0 on Windows 11: with the default engine all twelve Bahnschrift families are listed and "Bahnschrift SemiLight" resolves to itself, with fontengine=freetype only "Bahnschrift" is. The MSI and the portable "Lancer QET_qt6.bat" already started without the option. Drop it from the other Windows launchers too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -8,5 +8,5 @@ rem Met la collection QET en lecture seule
|
||||
attrib +r elements/* /S /D
|
||||
|
||||
rem lance QElectroTech
|
||||
set command=bin\qelectrotech.exe -platform windows:fontengine=freetype --common-elements-dir=elements/ --common-tbt-dir=titleblocks/ --lang-dir=lang/ --config-dir=conf/ --data-dir=conf/ %*
|
||||
set command=bin\qelectrotech.exe --common-elements-dir=elements/ --common-tbt-dir=titleblocks/ --lang-dir=lang/ --config-dir=conf/ --data-dir=conf/ %*
|
||||
@start %command%
|
||||
|
||||
Reference in New Issue
Block a user