Closed lewislepton closed 3 years ago
just copy some arial.tff into your /assets folder
thats the weird thing. i did/do have something in assets. ill try again when i get back tonight
Hmmm, yeah
a) if you are using labels (or text in general) something is pulling it in (ie, something in core i would guess) - so thats breaking proper DCE b) it certainly should work
Any chance you could .zip and attach a project?
probably this is the issue with it being pulled in: https://github.com/haxeui/haxeui-core/blob/master/haxe/ui/module.xml#L19
well... had time to look further & got it working. odd really. also is odd that it does error even though nothing is even setup in the project, but hey ho
https://github.com/haxeui/haxeui-kha/blob/master/haxe/ui/backend/TextDisplayBase.hx#L16 There is a reference with the Arial font in the repo. Seems like a test code.
hmmm... this is a good point. I usually work off of my templates. This seems like it might be a mistake. Ill check up making a kha project "from scratch" - i see no arial.ttf in the haxeui-kha project (it should be there)
Does this work now?
This issue can be closed.
something that has just popped up trying out haxeui-kha.
this error pops up right away
/usr/local/lib/haxe/lib/haxeui-kha/git/haxe/ui/backend/TextDisplayBase.hx:16: characters 16-34 : kha._Assets.FontList has no field arial
this is only from having things imported & not in actual use.
cant seem to see what the problem is to fix it on my end. just following what i have & have seen before with getting haxeui working
cheers