Page Index Toggle Pages: [1] 2 
Topic Tools
 10 Font Not Working (Read 7,912 times)
Carsten
Ex Member


Re: Font Not Working
Reply #21 - Jan 26th, 2008 at 2:52pm
Post Tools
Corey Chapman wrote on Jan 26th, 2008 at 2:49pm:
I see the reasoning, but just looking at the list, all in verdana, I wouldn't know that.  Probably no big deal though.  I'm a simple guy looking for simple things.  Microsoft sorted theirs alphabetically Tongue

Could split the drop down box into option-groups - but then again, it's just fonts  Tongue

In FF you'll see the font face in the select box.
« Last Edit: Jan 26th, 2008 at 2:54pm by »  
Back to top
 
IP Logged
 
smith21
Support Team
****
Offline



Posts: 4,660
Location: Stockton - on - Tees,  England

None
Re: Font Not Working
Reply #20 - Jan 26th, 2008 at 2:50pm
Post Tools
Corey Chapman wrote on Jan 26th, 2008 at 2:49pm:
I see the reasoning, but just looking at the list, all in verdana, I wouldn't know that.  Probably no big deal though.  I'm a simple guy looking for simple things.  Microsoft sorted theirs alphabetically Tongue


Microsoft always have to be different  Grin
  

Cheers
Back to top
IP Logged
 
Corey Chapman
YaBB Administrator
*****
Offline



Posts: 10,015
Location: Rock Hill, South Carolina

None
Re: Font Not Working
Reply #19 - Jan 26th, 2008 at 2:49pm
Post Tools
I see the reasoning, but just looking at the list, all in verdana, I wouldn't know that.  Probably no big deal though.  I'm a simple guy looking for simple things.  Microsoft sorted theirs alphabetically Tongue
« Last Edit: Jan 26th, 2008 at 2:49pm by Corey Chapman »  

Back to top
IP Logged
 
smith21
Support Team
****
Offline



Posts: 4,660
Location: Stockton - on - Tees,  England

None
Re: Font Not Working
Reply #18 - Jan 26th, 2008 at 2:48pm
Post Tools
I think the list is fine plain text at the top fancy text at the bottom
  

Cheers
Back to top
IP Logged
 
Carsten
Ex Member


Re: Font Not Working
Reply #17 - Jan 26th, 2008 at 2:46pm
Post Tools
Corey Chapman wrote on Jan 26th, 2008 at 2:42pm:
Awesome.  Now can you sort the list alphabetically?  Tongue

Sure - but that would'nt really make much sense. The way it is now it's sorted by font-family - see reply #12  Wink
  
Back to top
 
IP Logged
 
Corey Chapman
YaBB Administrator
*****
Offline



Posts: 10,015
Location: Rock Hill, South Carolina

None
Re: Font Not Working
Reply #16 - Jan 26th, 2008 at 2:42pm
Post Tools
Awesome.  Now can you sort the list alphabetically?  Tongue
  

Back to top
IP Logged
 
Outumuro
Documentation Team
Operations Team
****
Offline



Posts: 2,737
Location: Los Angeles, California
Re: Font Not Working
Reply #15 - Jan 26th, 2008 at 4:40am
Post Tools
Jet Li wrote on Jan 25th, 2008 at 3:50pm:
Result: Font Tests

Sweet! Smiley
  


Back to top
WWW  
IP Logged
 
Jet Li
Legacy Dev Team
Development Team
****
Offline



Posts: 6,588
Location: Hong Kong
Re: Font Not Working
Reply #14 - Jan 25th, 2008 at 7:40pm
Post Tools
Add new Font Types for Send PM Page too.


New InstantMessage.pl in CVS.
  

PM me for YaBB Installation Service
Back to top
WWWGTalkFacebook  
IP Logged
 
Jet Li
Legacy Dev Team
Development Team
****
Offline



Posts: 6,588
Location: Hong Kong
Re: Font Not Working
Reply #13 - Jan 25th, 2008 at 3:50pm
Post Tools
Woow. Cool

New Post.pl and YaBBC.pl in CVS.  Smiley

Result: Font Tests
  

PM me for YaBB Installation Service
Back to top
WWWGTalkFacebook  
IP Logged
 
Carsten
Ex Member


Re: Font Not Working
Reply #12 - Jan 25th, 2008 at 3:38pm
Post Tools
Not a fix - just a suggestion to give more (cross browser) font options

[size=14]Sans Serif:
[font=Microsoft Sans Serif]tester font - Microsoft Sans Serif[/font]
[font=Verdana]tester font - Verdana[/font]
[font=Arial]tester font - Arial[/font]
[font=Tahoma]tester font - Tahoma[/font]
[font=Lucida Sans]tester font - Lucida Sans[/font]

Serif:
[font=Times New Roman]tester font - Times New Roman[/font]
[font=Georgia]tester font - Georgia[/font]

Monospace:
[font=Courier]tester font - Courier[/font]
[font= Courier New]tester font - Courier New[/font]
[font=Bitstream Vera Sans Mono]tester font - Bitstream Vera Sans Mono[/font]

Cursive:
[font=Comic Sans MS]tester font - Comic Sans MS[/font]
[font=Bradley Hand ITC]tester font - Bradley Hand ITC[/font]
[font=Tempus Sans ITC]tester font - Tempus Sans ITC[/font]

Fantasy:
[font=Impact]tester font - Impact[/font]
[font=Papyrus]tester font - Papyrus[/font][/size]

In Post.pl change:
[code]                        document.write('<select name="fontface" id="fontface" onchange="if(this.options[this.selectedIndex].value) fontfce(this.options[this.selectedIndex].value);" style="width: 90px; margin-top: 2px; margin-left: 2px; margin-right: 1px; font-size: 9px;">');
                       document.write('<option value="">Verdana<\/option>');
                       document.write('<option value="">\\-\\-\\-\\-\\-<\/option>');
                       document.write('<option value="Sans-Serif" style="font-family: Sans-Serif">Sans-Serif</option>');
                       document.write('<option value="Verdana" style="font-family: Verdana" selected="selected">Verdana<\/option>');
                       document.write('<option value="Arial" style="font-family: Arial">Arial<\/option>');
                       document.write('<option value="Serif" style="font-family: Serif">Serif<\/option>');
                       document.write('<option value="Courier" style="font-family: Courier">Courier<\/option>');
                       document.write('<option value="Courier New" style="font-family: Courier New">Courier New<\/option>');
                       document.write('<option value="monospace" style="font-family: monospace">Monospace<\/option>');
                       document.write('</select>');
[/code]
to:
[code]                        document.write('<select name="fontface" id="fontface" onchange="if(this.options[this.selectedIndex].value) fontfce(this.options[this.selectedIndex].value);" style="width: 90px; margin-top: 2px; margin-left: 2px; margin-right: 1px; font-size: 9px;">');
                       document.write('<option value="">Verdana<\/option>');
                       document.write('<option value="">\\-\\-\\-\\-\\-<\/option>');
                       document.write('<option value="Microsoft Sans Serif" style="font-family: Microsoft Sans Serif">MS Sans Serif<\/option>');
                       document.write('<option value="Verdana" style="font-family: Verdana" selected="selected">Verdana<\/option>');
                       document.write('<option value="Arial" style="font-family: Arial">Arial<\/option>');
                       document.write('<option value="Tahoma" style="font-family: Tahoma">Tahoma<\/option>');
                       document.write('<option value="Lucida Sans" style="font-family: Lucida Sans">Lucida Sans<\/option>');
                       document.write('<option value="Times New Roman" style="font-family: Times New Roman">Times New Roman<\/option>');
                       document.write('<option value="Georgia" style="font-family: Georgia">Georgia<\/option>');
                       document.write('<option value="Courier" style="font-family: Courier">Courier<\/option>');
                       document.write('<option value="Courier New" style="font-family: Courier New">Courier New<\/option>');
                       document.write('<option value="Bitstream Vera Sans Mono" style="font-family: Bitstream Vera Sans Mono">Bitstream<\/option>');
                       document.write('<option value="Comic Sans MS" style="font-family: Comic Sans MS">Comic Sans MS<\/option>');
                       document.write('<option value="Bradley Hand ITC" style="font-family: Bradley Hand ITC">Bradley Hand ITC<\/option>');
                       document.write('<option value="Tempus Sans ITC" style="font-family: Tempus Sans ITC">Tempus Sans ITC<\/option>');
                       document.write('<option value="Impact" style="font-family: Impact">Impact<\/option>');
                       document.write('<option value="Papyrus" style="font-family: Papyrus">Papyrus<\/option>');
                       document.write('</select>');
[/code]

And in YaBBC.pl (current cvs) change:
[code]      $message =~ s~\[font=([A-Za-z0-9# -]+)\](.+?)\[/font\]~<span style="font-family:$1;">$2</span>~isg;
[/code]
to:
[code]      $message =~ s~\[font=([A-Za-z0-9# -]+)\](.+?)\[/font\]~<span style="font-family: $1;">$2</span>~isg;
[/code]
« Last Edit: Jan 25th, 2008 at 3:39pm by »  
Back to top
 
IP Logged
 
smith21
Support Team
****
Offline



Posts: 4,660
Location: Stockton - on - Tees,  England

None
Re: Font Not Working
Reply #11 - Jan 25th, 2008 at 7:54am
Post Tools
working now cheers guys.
  

Cheers
Back to top
IP Logged
 
Carsten
Ex Member


Re: Font Not Working
Reply #10 - Jan 24th, 2008 at 9:13pm
Post Tools
Quote:
Ok ..... do you see a difference in Courier New and "m"onospace ?

No - and they are (almost) the same on most computers/browsers. Courier New is a fixed-width 'monospace' font. Actually 'monospace' is the generic font for the fixed-width font-family.
« Last Edit: Jan 24th, 2008 at 9:52pm by »  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Font Not Working
Reply #9 - Jan 24th, 2008 at 9:00pm
Post Tools
Ok ..... do you see a difference in Courier New and "m"onospace ?
  
Back to top
 
IP Logged
 
Carsten
Ex Member


Re: Font Not Working
Reply #8 - Jan 24th, 2008 at 8:54pm
Post Tools
Quote:
the problem seems to be No Font named Sans-Serif

Nope - the problem was the missing dash in the regex in YaBBC.pl
  
Back to top
 
IP Logged
 
Jet Li
Legacy Dev Team
Development Team
****
Offline



Posts: 6,588
Location: Hong Kong
Re: Font Not Working
Reply #7 - Jan 24th, 2008 at 8:52pm
Post Tools
Hi
its fixed on last YaBBC.pl  Wink
  

PM me for YaBB Installation Service
Back to top
WWWGTalkFacebook  
IP Logged
 
Page Index Toggle Pages: [1] 2 
Topic Tools
 
  « Board Index ‹ Board  ^Top