Hallo,
Wie kann man mit GuiSetFont eine Schriftart wählen, die nicht im Ordner "C:\Windows\Fonts" ist, sondern im gleichen Ordner, wie der Skript?
Es hat schonmal funktioniert, aber jetzt geht es nicht mehr.
Spoiler anzeigen
[autoit]
#include <GUIConstantsEx.au3>
[/autoit] [autoit][/autoit] [autoit]Opt("GUICloseOnESC", 0)
[/autoit] [autoit][/autoit] [autoit]BG()
[/autoit] [autoit][/autoit] [autoit]Func BG ()
[/autoit] [autoit][/autoit] [autoit]$Ydef = 60
$Xdef = 60
$row = 20
GUICreate ("Test", 512, 512)
GUISetFont(8.5, 400, 0, "Gothic II - Die Nacht des Raben")
;~ GUICtrlCreatePic ("letter.jpg", 0, 0, 512, 512)
GUICtrlSetDefBkColor (0xcabaa4)
GUICtrlCreateLabel("blubb",$ydef,$xdef, 392, $row)
GUISetState()
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd
EndFunc
DIe Schriftart: autoit.de/wcf/attachment/5728/