[nycphp-talk] font properties
Jana Harper
jana at meetduo.com
Fri May 27 13:39:19 EDT 2011
Hi Ian,
You can use line-height to adjust the height of the space the font fits in, but as far as I know there isn't a way to scale the font vertically. Even if there was a way to do that I wouldn't recommend it because it would distort the original intended look of the typeface. If you need a taller font and increasing the size makes it too wide, pick a different typeface. There are quite a few to choose from with the advent of web fonts -- check out these sites:
http://typekit.com/
http://webfonts.fonts.com/
http://www.fonts.com/
http://www.google.com/webfonts
Also check out this API for accessing typefaces from various providers through a common interface: http://code.google.com/apis/webfonts/
Jana Harper
Duo
www.meetduo.com
www.wellcrafted.is
@well_crafted
@meetduo
206.601.0127
On May 27, 2011, at 10:29 AM, Anthony Wlodarski wrote:
> The only feasible way to do this that I am aware of is with CSS3 and the font-stretch declaration. But it will still only scale it horizontally, not vertically.
>
> -Anthony
>
> On 05/27/2011 01:13 PM, I H wrote:
>>
>> Hello All:
>>
>> I am designing a site and need assistance on one issue. It has to deal with fonts. to change the width of a font, you would use the font-width statement to change the font from left-to-right. is there a way of changing it from top-to-bottom. ie to stretch the font ?
>>
>>
>> thanks in advance
>>
>>
>>
>> Ian
>>
>> _______________________________________________
>> New York PHP Users Group Community Talk Mailing List
>> http://lists.nyphp.org/mailman/listinfo/talk
>>
>> http://www.nyphp.org/Show-Participation
>
> --
> Anthony Wlodarski
> Lead Software Engineer
> Get2Know.me (http://www.get2know.me)
> Office: 646-285-0500 x217
> Fax: 646-285-0400
> _______________________________________________
> New York PHP Users Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/Show-Participation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20110527/b6162cd1/attachment.html>
More information about the talk
mailing list