Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-14-2008, 10:21 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Fonts

When are fonts going to be uniform for each platform?

No matter what server I go on, I almost always see screwed up fonts.
Name:  Picture 68.png
Views: 314
Size:  6.8 KB
This looks perfectly on Windows, with everything fitting in the scroll fine.

This happens on every kind of text, even when using showtext().

File download: comic sans ms.ttf not found

This appears in F2, so I guess a solution would be to upload these files for now?

EDIT: Uploading the files doesn't really help ... Still far too large.
Click image for larger version

Name:	Picture 69.png
Views:	137
Size:	8.5 KB
ID:	44890
__________________
Reply With Quote
  #2  
Old 06-14-2008, 11:10 PM
Mafukie Mafukie is offline
Sup
Mafukie's Avatar
Join Date: May 2002
Location: Chicago, IL
Posts: 254
Mafukie will become famous soon enough
Send a message via ICQ to Mafukie Send a message via AIM to Mafukie
there would have to be some kind of universal graal font that is packaged with all the clients, or thats how most games do it for cross platform games I believe.
Reply With Quote
  #3  
Old 06-14-2008, 11:44 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Mafukie View Post
there would have to be some kind of universal graal font that is packaged with all the clients, or thats how most games do it for cross platform games I believe.
Stefan told me he was going to make fonts display on Windows like they do on Mac/Linux, which means that just about everything will have to be remade to look correct.
__________________
Reply With Quote
  #4  
Old 06-14-2008, 11:46 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by cbk1994 View Post
Stefan told me he was going to make fonts display on Windows like they do on Mac/Linux, which means that just about everything will have to be remade to look correct.
Agh, I hate to correct things that have been working for ages because somebody suddenly decides to change something -_-
Reply With Quote
  #5  
Old 06-14-2008, 11:47 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Crow View Post
Agh, I hate to correct things that have been working for ages because somebody suddenly decides to change something -_-
Agreed ...

However, they display like crap on Mac/Linux while perfectly on Windows, so it will be a good thing, even though stuff will have to be changed.
__________________
Reply With Quote
  #6  
Old 06-15-2008, 03:12 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
If you don't set the script to display a font, it will display the default font for your Graal. That means if you have a different default font for your different Graals on each platform, the fonts will look different in the script.

If you set the font with the script, you shouldn't have a problem though.

edit: dunno if this is what you're looking for, or in any way helps... just thought I'd throw it in there.
Reply With Quote
  #7  
Old 06-15-2008, 03:24 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by DustyPorViva View Post
If you don't set the script to display a font, it will display the default font for your Graal. That means if you have a different default font for your different Graals on each platform, the fonts will look different in the script.

If you set the font with the script, you shouldn't have a problem though.

edit: dunno if this is what you're looking for, or in any way helps... just thought I'd throw it in there.
No no, the problem is that the SAME font displays differently on each platform, even when set.

Thanks though ;o
__________________
Reply With Quote
  #8  
Old 06-15-2008, 04:09 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
That's odd... I'm not grasping this though. What font are you trying to set? Because if you want Comic Sans, then the second picture is correct, it's the first one that's not.
Reply With Quote
  #9  
Old 06-15-2008, 04:37 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by DustyPorViva View Post
That's odd... I'm not grasping this though. What font are you trying to set? Because if you want Comic Sans, then the second picture is correct, it's the first one that's not.
No, no. I mean that the exact same font renders differently depending on what platform you are on.

On Windows, the text fits perfectly into the box, but on Mac, the text is significantly larger.
__________________
Reply With Quote
  #10  
Old 06-15-2008, 04:41 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Well, what font were you trying to set, is what I was asking. If I gathered correctly, you wanted the text to be set as Comic Sans... the second one(mac) is correct, in that case. The first one(Windows), is not.
Reply With Quote
  #11  
Old 06-15-2008, 05:15 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by DustyPorViva View Post
Well, what font were you trying to set, is what I was asking. If I gathered correctly, you wanted the text to be set as Comic Sans... the second one(mac) is correct, in that case. The first one(Windows), is not.
No, no, no

The fonts set correctly. Both of those were from Mac, showing how the fonts go over.

The problem is, while the fonts SET okay, they render differently.

For example, if I have a font that I set to be Comic Sans, then on Mac it will look slightly larger than on Windows.
__________________
Reply With Quote
  #12  
Old 06-15-2008, 05:20 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Ahh... those pictures were very confusing.
I think it has something to do with the font AA the different OS's use. Try disabling any font-AA on both platforms and see what happens?
Reply With Quote
  #13  
Old 06-15-2008, 05:25 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by DustyPorViva View Post
Ahh... those pictures were very confusing.
I think it has something to do with the font AA the different OS's use. Try disabling any font-AA on both platforms and see what happens?
No, the problem, Stefan has told me, is that Graal displays the fonts differently; he said he would fix this and make Windows work like Mac/Linux (meaning everything will have to be redesigned)
__________________
Reply With Quote
  #14  
Old 06-15-2008, 05:32 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Oh... oh well then. Don't hope for an answer though. I've been watching Stefan from afar for a long time now, and I have yet to accurately calculate his browsing pattern. He is very, very random on the threads he chooses to read and respond to. I think he like, closes his eyes and points his finger at the screen to choose his threads(unless it's about pizza or Mario Kart, of course. He searches for those topics daily).
Reply With Quote
  #15  
Old 06-15-2008, 05:37 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by DustyPorViva View Post
(unless it's about pizza or Mario Kart, of course. He searches for those topics daily).
Aha! now you have posted the key words, he will be sure to arrive soon!
__________________
Reply With Quote
  #16  
Old 06-15-2008, 09:31 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
The font system will be the same on all platforms in the next version.
Reply With Quote
  #17  
Old 06-15-2008, 09:47 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
You're welcome, Chris.
Reply With Quote
  #18  
Old 06-15-2008, 10:34 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by DustyPorViva View Post
You're welcome, Chris.


Thanks <3
__________________
Reply With Quote
  #19  
Old 06-15-2008, 10:47 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Stefan View Post
The font system will be the same on all platforms in the next version.
Heh, all nice and stuff, but why are you already going v6? You should go for v5.2 or whatever is next first.
Reply With Quote
  #20  
Old 06-16-2008, 12:02 AM
Ziro_of_the_Turks Ziro_of_the_Turks is offline
Registered User
Join Date: Mar 2005
Posts: 887
Ziro_of_the_Turks will become famous soon enough
Quote:
Originally Posted by cbk1994 View Post


Thanks <3
Someone has to say it...

O-M-F-G
Did that really just happen?
Reply With Quote
  #21  
Old 06-16-2008, 01:52 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Servers should however make stuff working for different font sizes anyway, there is gettextwidth() and gettextheight()
Reply With Quote
  #22  
Old 06-16-2008, 02:04 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Stefan View Post
Servers should however make stuff working for different font sizes anyway, there is gettextwidth() and gettextheight()
The client should be making stuff look the same no matter what the platform, so that the developers do not need to make things look bad just to be compatible.
__________________
Reply With Quote
  #23  
Old 06-16-2008, 05:07 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Quote:
Originally Posted by cbk1994 View Post
The client should be making stuff look the same no matter what the platform, so that the developers do not need to make things look bad just to be compatible.
If text is displayed at wrong positions then the client cannot magicly guess where the scripter meant to put it. There are many cases where it might be useful to change the font size, e.g. when players use a high resolution display.
Reply With Quote
  #24  
Old 06-16-2008, 05:10 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Stefan View Post
If text is displayed at wrong positions then the client cannot magicly guess where the scripter meant to put it. There are many cases where it might be useful to change the font size, e.g. when players use a high resolution display.
Perhaps if the client included several common fonts (Times, Sans, Verdana, etc) with it so that you know these fonts will display the same on each system.

Otherwise, you can download a font.

I'm guessing that you could use some kind of open source font rendering to make sure these fonts display the same.
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:43 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.