• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Changing font size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing font size


  • Subject: Re: Changing font size
  • From: Chris Ridd <email@hidden>
  • Date: Thu, 11 Dec 2003 15:18:03 +0000

On 11/12/03 2:53 pm, John Timmer <email@hidden> wrote:

> Sorry, I guess I haven't explained myself well -
>
> I can handle all the archiving/unarchiving, and I realize that I can do this
> by archiving multiple NSFonts, but I want the user to be able to simply
> change a single font preference and have that update all the fonts of
> different sizes, so that isn't going to work out.

I think I'm trying to do something similar - essentially set a "base" font
and have all the other fonts in the view be relative to it - ie same face
but relatively different sizes.

> So, what I'd like to do is simply store a single NSFont. After unarchiving,
> I'd like to create several NSFont instances by keeping all attributes the
> same as the archived version except the size - ie, I'd like to start with an
> NSFont, and simply change its size.
>
> Unfortunately, the only way I can see of doing this is fairly complicated,
> so I'm assuming that I'm missing something.

I haven't found a good solution either :-(

Cheers,

Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Changing font size (From: John Timmer <email@hidden>)

  • Prev by Date: Re: Word completion feature from PB missing in Xcode?
  • Next by Date: Re: Word completion feature from PB missing in Xcode?
  • Previous by thread: Re: Changing font size
  • Next by thread: Re: Changing font size
  • Index(es):
    • Date
    • Thread