Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Web Page

Status
Not open for further replies.

IlyaRabyy

Programmer
Nov 9, 2010
571
US
Colleagues,

we are trying to implement barcode font "Free 3 of 9" on the server 2016, ASP web page, and get this error message:
2020_06_02_08_51_3o9FontNotAccepted_bhznau.jpg

Anybody have any idea what might cause this?

PS: this font worked on the Win 2003 server, the code was copy-pasted from the old box onto the new one.

Regards,

Ilya
 
Hi Ilya,

I'm sure you'll figure this out elsewhere. Especially since this has nothing to do with VFP.

The fonts have to be web fonts or installed on the client, AFAIK, also the error message gives you two examples of what's wrong with the usage.

"It worked" is most often a red herring, you changed server for a reason, upgraded something, OS version, for example, so the outset differs. You must expect upgrade-pains and tackle them. For example missing fonts. As you're pointed to the font name you're using, do the straight forward troubleshooting and look into font names you're using, fonts available&served by the server, from the web/cloud and/or on clients.

Bye, Olaf.

Olaf Doschke Software Engineering
 
As Olaf says, you should post this in a forum that is specific ASP - or perhaps to CSS (given that you are probably using CSS syntax for specifying your font families).

And when you have found a suitable forum, please give your post a more descriptive title, so that people can know what it is about without opening and reading the whole thing. "Problem with Web Page" is pretty useless, as it could apply to almost any post in any relevant forum.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Mike, Olaf, I know that this forum is not the best place to ask about ASP, but my colleagues on VFP forums (especially - on Foxite), for the last year, were still very helpful with .NET and even VB .NET.
And I know that y'all aren't working exclusively in VFP and have experience in other languages/platforms as well.
Hence I hoped one of you might at least point me in the right direction.

However, the issue's been resolved already: I suggested to change "font-family" to "font-name" - and this did the trick.

Case is closed.

Regards,

Ilya
 
Fine.

And you know you can go here as colleage, it's not the first time. But if you only post an error message and no code leading to it, how could we ever help?
I didn't even know WEFT and it seems more legacy to me than even FoxPro is. As far as I understand the tool is about IE only and embedded fonts, which nowadays are best handled as web fonts and CSS.

I know you won't find your barcode font as a web font, but there are ways to convert TTF to a web font and embed it in the sites CSS, that can even be separate to all other code, depending on the project using static CSS files. Even if they are created dynamically, you'll be able to change that to include some static lines about a web font.

Bye, Olaf.

Olaf Doschke Software Engineering
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top