Jump to content

Install Custom Fonts


Guest Yuxi

Recommended Posts

Posted

I think there should be a way to install additional fonts into IPB for making posts without manually editing the code. I know there's already a big list built in, but it would be a nice feature. :)

Posted

I think there should be a way to install additional fonts into IPB for making posts without manually editing the code. I know there's already a big list built in, but it would be a nice feature. :)



Would be hard to add this feature, how would the code know what to display, if its not a array thats a specfic size. There has to be a "default" for people who don't want to add fonts to their board.

I am not familar with how PHP handles arrays, to my knowlege you have to define the size of an array in PHP much like you have to do it in C. There are of course ways to "increase" the size of a specfic size array, but the code required to do this isn't simple.
Posted

I... don't see an edit...

Also you can change all of the fonts on your forum by doing this in the css code:

p{fontproperties here}
span{fontproperties here}
input{fontproperties here}
td{fontproperties here}

That should cover it (just a guess)

Posted

Remember though that users cannot see fonts unless they're installed on the computer they're using.

Therefore, I'd assume most of the widely supported fonts are already on the list.

Posted

No, unlike C a PHP array does not have to be defined. You can define it, but after you do you can still add to it. PHP is very flexible.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...