vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   font size bigger? (https://vborg.vbsupport.ru/showthread.php?t=47202)

Boofo 01-01-2003 04:42 AM

font size bigger?
 
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

1 Attachment(s)
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. :)

Quote:

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



All times are GMT. The time now is 10:41 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00988 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete