?>
GTX0 NewestRepliesHottestMy Active
NIFE UpdatesRoadmapRequests | HelpDiscuss Game Worlds



Size here indicates a value between 0.5 and 1.5 and the font size will scale that much relative to whatever size it is currently.

Syntax

[size 0.5]Smallest[/size]
[size 0.75]Smaller[/size]
[size 1]Normal[/size]
[size 1.25]Bigger[/size]
[size 1.5]Biggest[/size]

While you can't embed these recursively, you can get a bit more extra size out of them by embedding them inside !! and !!! tags:

!! [size 1.5]Bigger-er[/size]
Bigger-er

!!! [size 1.5]Bigger-est[/size]
Bigger-est

This is the last parser change we need for the merge.

There are 34 Replies
Page:
1 2 3 4 Load all posts
settingsSettings

This is good work!

Posted January 26th by LLight

Also note that it doesn't have to be the four sizes used above, you can do things like [size 1.333] or w/e

Posted January 26th by Xhin
Xhin
Nature is beautiful

...I'd safely assume you still have to be within the range of 0.5-1.5, or is the range larger than that?

Posted January 27th by Black Yoshi

yes, still within the range of 0.5-1.5

Posted January 27th by Xhin
Xhin
Nature is beautiful

Size 1/2
Size 3/5
Size 2/3
Size 3/4
Size 1
Size 5/4
Size 4/3
Size 7/5
Size 3/2

Edited February 4th by chiarizio

Size 1
Size 5/4
Size 4/3
Size 7/5
Size 3/2

@Xhin;
It looks like the size thing for fractional sizes greater than 1 but less than 1.5,
doesn’t work.

Note how they all look smaller than Size 1.


Edited February 9th by chiarizio

Did you fix that
while I was complaining??
Fast work!


Posted February 9th by chiarizio

No, it seems to be an intermittent bug. Or something.

Posted February 10th by chiarizio

Me testing Xhin’s in-line “size” tag —— possibly to destruction.
size 0.250000000000000
size 0.297301778750680
size 0.353553390593274
size 0.420448207626857
size 0.500000000000000
size 0.594603557501361
size 0.707106781186548
size 0.840896415253715
size 1.000000000000000
size 1.189207115002720
size 1.414213562373100
size 1.681792830507430
size 2.000000000000000
size 2.378414230005440
size 2.828427124746190
size 3.363585661014860
size 4.000000000000000

Posted March 28th by chiarizio

Sizes from 2^0.75 up to 2^2 all look the same.
Sizes from 2^-1 down to 2^-2 also all look the same.


Posted March 28th by chiarizio

Me trying again.
size 0/1
size 1/5
size 1/4
size 2/7
size 1/3
size 3/8
size 2/5
size 3/7
size 1/2
size 4/7
size 3/5
size 5/8
size 2/3
size 5/7
size 3/4
size 4/5
size 1/1
size 5/4
size 4/3
size 7/5
size 3/2
size 8/5
size 5/3
size 7/4
size 2/1
size 7/3
size 5/2
size 8/3
size 3/1
size 7/2
size 4/1
size 5/1


Posted March 28th by chiarizio

Not quite what was expected.

Posted March 28th by chiarizio

Maybe 15 decimal places was too much? Maybe 6 decimal places will be OK?
size 0/1
size 1/5
size 1/4
size 2/7
size 1/3
size 3/8
size 2/5
size 3/7
size 1/2
size 4/7
size 3/5
size 5/8
size 2/3
size 5/7
size 3/4
size 4/5
size 1/1
size 5/4
size 4/3
size 7/5
size 3/2
size 8/5
size 5/3
size 7/4
size 2/1
size 7/3
size 5/2
size 8/3
size 3/1
size 7/2
size 4/1
size 5/1

Posted March 28th by chiarizio

Nope.

Posted March 28th by chiarizio

Gonna try just three decimal places.
size 0/1
size 1/5
size 1/4
size 2/7
size 1/3
size 3/8
size 2/5
size 3/7
size 1/2
size 4/7
size 3/5
size 5/8
size 2/3
size 5/7
size 3/4
size 4/5
size 1/1
size 5/4
size 4/3
size 7/5
size 3/2
size 8/5
size 5/3
size 7/4
size 2/1
size 7/3
size 5/2
size 8/3
size 3/1
size 7/2
size 4/1
size 5/1


Posted March 28th by chiarizio

Anything below 0.5 will turn into 0.5 and anything above 1.5 will turn into 1.5

Posted March 28th by Xhin
Xhin
Nature is beautiful

Still not working.
If it doesn’t work for two decimal places, i’m Gonna say it’s a bug.
size 0/1
size 1/5
size 1/4
size 2/7
size 1/3
size 3/8
size 2/5
size 3/7
size 1/2
size 4/7
size 3/5
size 5/8
size 2/3
size 5/7
size 3/4
size 4/5
size 1/1
size 5/4
size 4/3
size 7/5
size 3/2
size 8/5
size 5/3
size 7/4
size 2/1
size 7/3
size 5/2
size 8/3
size 3/1
size 7/2
size 4/1
size 5/1


Posted March 28th by chiarizio

OK. It’s a bug.
@Xhin:
Maybe the bug is triggered by the inclusion of sizes <0.5 and/or >1.5.
size 1/2
size 4/7
size 3/5
size 5/8
size 2/3
size 5/7
size 3/4
size 4/5
size 1/1
size 5/4
size 4/3
size 7/5
size 3/2

Posted March 28th by chiarizio

@Xhin:
No, it’s still fucked up.

size 0.50
size 0.57
size 0.60
size 0.63
size 0.67
size 0.71
size 0.75
size 0.80
size 1.00
size 1.25
size 1.33
size 1.40
size 1.50

Posted March 28th by chiarizio

It looks like it's actually the extra space that's throwing it off. Fixed.

Posted March 28th by Xhin
Xhin
Nature is beautiful



Posted March 28th by I killed Mufasa
I killed Mufasa
long live the king

Could the problem be the spaces right after the ] and/or right before the [ ?
size 0/1
size 1/5
size 1/4
size 2/7
size 1/3
size 3/8
size 2/5
size 3/7
size 1/2
size 4/7
size 3/5
size 5/8
size 2/3
size 5/7
size 3/4
size 4/5
size 1/1
size 5/4
size 4/3
size 7/5
size 3/2
size 8/5
size 5/3
size 7/4
size 2/1
size 7/3
size 5/2
size 8/3
size 3/1
size 7/2
size 4/1
size 5/1


Posted March 28th by chiarizio



Posted March 28th by I killed Mufasa
I killed Mufasa
long live the king

I can't resize the duck.

Posted March 28th by I killed Mufasa
I killed Mufasa
long live the king

That seems to be it! The part between the size tags can’t have leading nor trailing spaces.
@Xhin:
size 1/2
size 4/7
size 3/5
size 5/8
size 2/3
size 5/7
size 3/4
size 4/5
size 1/1
size 5/4
size 4/3
size 7/5
size 3/2
It’s OK to use fourteen places after the decimal point.

Posted March 28th by chiarizio

Do you have a good, or GTX0-specific, reason, not to allow sizes <0.5 but >=0.25 ?
And/or, not to allow sizes >1.5 but <=2? Or even >2 but <=4 ?

I’d like to do a geometric series from size 2^-2 to 2^2 with a common ratio of 2^(1/4).
That would be 17 values.

Would sizes <1/2 blow some people’s software or hardware or something?
Maybe sizes >2 would be unsafe for some users; but I’m pretty sure everyone could handle sizes like 2, and like 1.68179283050743 (2^(1.75)).

How much is the size rounded off? Two decimal places, or more?

I’ve never seen a bboard that’ll handle/allow sizes <1/4 or >4, but modern phpBB will handle any percentage between 25%% and 400%%, IIANM.

@Xhin:

Edited March 28th by chiarizio

Because the !!!= tag in combination is about as big as I want gtx0 text to be:

SIZE DOES MATTER

Posted March 28th by Xhin
Xhin
Nature is beautiful

On the various phpBBoards I am (or recently was) on, I got used to using sizes:
0.84 (about 0.5^0.25)
0.71 (about 0.5^0.5)
0.59 (about 0.5^0.75)
and 0.5
for my small sizes;

And using
1.19 (about 2^0.25),
1.41 (about 2^0.5)
1.68 (about 2^0.75)
and 2
for my big sizes.

So I don’t really miss those sizes <0.5 I’ve been trying to get here (in spite of having been told the inline size tag isn’t supposed to provide them!) Same for sizes >2.
But I might kinda miss sizes 1.68 and 2.
Sometimes I have two (or even three?) different levels of emphasis.
Sometimes, especially in long or comprehensive or original posts, I’ll have two (or even three) levels of topicalisation.

At size 0.71, each character takes half the area it would take at size 1.
At size 1.41, each character takes twice the area it would take at size 1.

A size 0.84 character takes 0.71 times the area of a size 1 character, and takes 1.41 times the area of a a size 0.71 character.
Size 0.59 is a similar “mean proportional” between sizes 0.5 and 0.71.
A size 1.19 character takes 1.41 times the area of a size 1 character, and 0.71 times the area of a size 1.41 character.
Size 1.68 is a similar mean proportional between sizes 1.41 and 2.

I tried to use my small sizes when quoting.
If I quoted something to which I was responding, I’d try to remember to put the quote in size 0.84.
If that quotation quoted something —— for instance a quote from someone (maybe me) to which they were responding —— I’d try to put the embedded quote in size 0.71.
If there was a quote embedded in a quote which was itself already quote-embedded in something I was quoting, I’d try to put the doubly-embedded quote in size 0.59.
I often tried to avoid triply-embedded quotes. But if and when I went ahead and used one, I’d try to put it in size 0.5.

I just left out quadruple-embedded and deeper quotes. I hypothesized they would be psychologically unnecessary.


Posted March 28th by chiarizio

So, maybe I should use sizes 1.14, 1.31, and 1.5, for “my big sizes”?
size 1.14, about (1.5)^(1/3)
size 1.31, about (1.5)^(2/3)
size 1.5
and just not have four of them?

size 1 size 1.14 size 1.31 size 1.5

size 1 size 1.144714242553332 size 1.310370697104448 size 1.5

Edited March 28th by chiarizio

Another test.
size 0.50000
size 0.54525
size 0.59460
size 0.64842
size 0.70711
size 0.77111
size 0.84090
size 0.91700
size 1.00000
size 1.09051
size 1.18921
size 1.29684
size 1.41421
size 1.54221

@Xhin:
Notice how the sizes bigger than 0.5 and smaller than 1 all appear smaller than 0.5, and all of the sizes bigger than 1 and smaller than 1.5 appear smaller than 1.

[edit]No, it does that on my phone, but it works right on my pad.[/edit]


Edited April 1st by chiarizio

How do
Big
Bigger
Bigger yet
And probably illegally big
relate to the values in the inline size tag?
@Xhin
Is one ! the same as size 1.25, and two !! s the same as size 1.5?

So, by combining them, I could get
size 1.5625 (in effect!)
size 1.875 (in effect!)
and
size 2.25 (in effect!)
?

Is three !!! s a thing?

Is one line-leading ! really a thing, or did I misunderstand?

Maybe it’s two !! s that’s size 1.25, and three !!! s that’s size 1.5 .

Size 0.8 with two size 0.8 inside two
Size 0.6666667 within three size 0.6666667 inside three

Big
size 1.25

Bigger
size 1.5


ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ

ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ

No, the exclamation points make things bigger than the inline tag does.

Size 1.25 < two exclamation points < size 1.5 < three exclamation points.

Edited March 28th by chiarizio

@Xhin:
size 0.500
size 0.545
size 0.595
size 0.648
size 0.707
size 0.771
size 0.841
size 0.917
size 1.000
size 1.091
size 1.189
size 1.297
size 1.414
size 1.542

Maybe it’s OK on my iPad but not my iPhone?


Edited March 29th by chiarizio

But how do I make the duck bigger?

Posted March 29th by I killed Mufasa
I killed Mufasa
long live the king

@Xhin:
It works like it’s supposed to on my iPad.
But it doesn’t on my iPhone.
Is there a way to fix it where it works on both?
Thanks!

Posted March 31st by chiarizio
Load next page Load rest of pages
Reply to: The inline [size] tag for font sizing
Enter your message here

Site Rules | Complaints Process | Give Feedback Facebook Page
GTX0 © 2009-2019 Xhin GameTalk © 1999-2008 lives on