PDA

View Full Version : font size bigger?


Boofo
01-01-2003, 04:42 AM
Can anyone please tell me where I need to go to find how vBulletin sets the size for fonts? It will not go past +4 for some reason. When you do a size=+5 and on up it sets it at +4. Is there a way to change this so it can display bigger font sizes?

Sebastian
01-01-2003, 06:53 PM
don't put a +

How big you want?


I just used 7

[SIZE=7]How big you want?[/SIZE ]

I don't think you can past 7. fonts can only go as big as they were made in the font file... some fonts are smaller than others... arial is usually the biggest out of all standard fonts.

Boofo
01-01-2003, 07:34 PM
The + is the way they are doing it in vb3 (I think). I just wanted to be able to go a size or 2 bigger, if it was possible. Does vBulletin set a limit somewhere on the size? I already changed the vbcode_fontsize template, but it doesn't allow the font size to get past a certain point.

Logik
01-01-2003, 07:46 PM
I believe you're right.

Logik
01-01-2003, 07:46 PM
Im not sure exactly how.. But somewhere in there :O)

Sebastian
01-01-2003, 07:51 PM
what happens when you do [SIZE=7]TEXTSIZE [/size ] ???

like i said the + isn't necessary, if you use the pull down menu here to change the font size it doesn't put a +

the + symbol is only an example in the custom vb code in the admin cp... take a look:

vB Code tag: size
vB Code replacement: <font size="{option}">{param}</font>
vB Code example: [size=+1]Size 1[/size ]
vB Code explanation: The [size] tag allows you to control the size of the font.

i have no idea why + is in there but it does nothing from what i can see.

Logik
01-01-2003, 07:53 PM
No, the + isnt neccessary..

Boofo
01-01-2003, 07:58 PM
I know the + isn't necessary, it just makes the jump in font sizes a little bigger. :) Even without the +, it still won't go above a certain point.

Sebastian
01-01-2003, 08:00 PM
not sure why... what happens when you manually type [SIZE=7]TEXT[/SIZE ] in a post in your forums?

as you can see it makes is very large here at vb.org, as well as my forums..

Boofo
01-01-2003, 08:01 PM
Sebastian, try this. Take a line and do the font size from +1 to +4 and then do a font size of 1 to 6 and you'll see what I mean. You can just do the same line over however many times you need to in a new message and preview it and then you won't have to save it. You will see what I mean then. :)

Sebastian
01-01-2003, 08:07 PM
from what i can see +4 is the same as =7 .. it looks like the + just doubles it. so techincally +4 is really a font size of 7.

that is why you can't go higher than +4 because the font itself can't go any bigger. so to recap, +4 is really 7 and 7 is the highest the font can be. you understand what i mean? a font can only be so big and can't go any bigger.

Sebastian
01-01-2003, 08:13 PM
take a look at the actual font file.. see number 72? that is the biggest the font can go. 7 = +4 which is the highest you can go with this type of font.

72 = +4
60 = +3
48 = +2
36 = +1

Boofo
01-01-2003, 08:20 PM
Ahh, ok, now I think I'm getting it. :) Then vBulletin doesn't really have anything to do with setting the font size limits? That's all I needed to know then. Sorry if I wasted anyone's time on this one. I've learned something new today, now I can take a nap. :)

Sebastian
01-01-2003, 09:41 PM
that's okay.. nope, vb has nothing to do with how big the font can be... the font can't get any bigger than how big the font designer made it to be.

Logik
01-01-2003, 10:30 PM
I was doing the same thing you was just doing.. Lol. Just you beat me to it.. :(

Boofo
01-02-2003, 05:45 AM
Sebastian, I found and fixed the problem. It seems that +4 will actually only go to 36pt, which is the same size as 7. The vbcode replacement SIZE variable uses "font size=xx" and to get a bigger font than 36pt, I needed to change it to "span=font-size:xxpt". I now have it set up on my board like Word does so I can go all the way up to 72pt, plus I have all the sizes in between. Check this out:

http://www.bearfacts2.com/

and tell me what you think. Thanks for pointing me in the right direction, my friend. :)

Originally posted by Sebastian
take a look at the actual font file.. see number 72? that is the biggest the font can go. 7 = +4 which is the highest you can go with this type of font.

72 = +4
60 = +3
48 = +2
36 = +1