Page 1 of 2

Cannot find font Albertus Extra Bold on this system!

Posted: Sat Sep 28, 2019 12:21 pm
by LarsB
Hi,
moving to another system (Win 10) I have trouble to link a couple of nice fonts to my programs.
The strange thing.. first it worked. Also when I compile just be pressing F5 it works.
But saving it to a .exe it doesnt. I just took the dafult path, when I installed Hollywood.
Exmple:

Code: Select all

@DISPLAY {Mode = "Windowed", Width = 1280, Height = 600,Color=#WHITE}
@FONT 1, "Albertus Extra Bold", 64, {Engine = #FONTENGINE_INBUILT}

UseFont(1)
SetFontColor(#BLACK)
Locate(300,240)
Print("Hello")

WaitKeyDown("Return")
Also tried it with native engine.

Re: Cannot find font Albertus Extra Bold on this system!

Posted: Sat Sep 28, 2019 6:42 pm
by Juan Carlos
You have one copy of the font in the same drawer with your project and with Thomas same name to make the executables.

Re: Cannot find font Albertus Extra Bold on this system!

Posted: Sun Sep 29, 2019 12:02 pm
by LarsB
Hi Juan,..

nice to meet you here ;)

Unfortunately it doesnt work. Neither with inbuild or native engine. Also when pressing F5 the font is found.

Re: Cannot find font Albertus Extra Bold on this system!

Posted: Sun Sep 29, 2019 12:38 pm
by LarsB
Just tried it with OpenFont which does work. But I dont want to put the font in a extra file.

Re: Cannot find font Albertus Extra Bold on this system!

Posted: Mon Sep 30, 2019 11:59 pm
by airsoftsoftwair
Ok, I can reproduce this. I'll check what's wrong there.

Re: Cannot find font Albertus Extra Bold on this system!

Posted: Tue Oct 01, 2019 10:58 am
by LarsB
Thats good to read. I ve got some pretty good fonts. Most by Corel. And a free metal font too. :)

Re: Cannot find font Albertus Extra Bold on this system!

Posted: Tue Oct 01, 2019 11:24 am
by airsoftsoftwair
Btw, it's not related to Windows 10 in any way. It happens on Windows 7 as well. Must be related to the font. I'll check.

Re: Cannot find font Albertus Extra Bold on this system!

Posted: Tue Oct 01, 2019 12:08 pm
by LarsB
Sounds very good. I got some of that kind. i.e. a very cool C64 fontset which I have been allowed to use by the creator.
And indeed happened on my former worfkingplace computer(Win 7), too.

Re: Cannot find font Albertus Extra Bold on this system!

Posted: Tue Oct 01, 2019 12:42 pm
by LarsB
Please allow me to add that it works fine on my Vista Computer.

Re: Cannot find font Albertus Extra Bold on this system!

Posted: Fri Dec 13, 2019 9:27 pm
by airsoftsoftwair

Code: Select all

- Fix: Some TrueType fonts which contained style keywords in their face name (e.g. "Albertus Extra Bold")
  couldn't always be opened