• 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 [Moderator] No iPhone SDK discussion here please
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re [Moderator] No iPhone SDK discussion here please


  • Subject: Re [Moderator] No iPhone SDK discussion here please
  • From: "Andreas Gotfredsen" <email@hidden>
  • Date: Wed, 19 Mar 2008 11:37:08 +0100

Hi Scott
Big Questions here and I´m guesing I´m not the only one ...

I´m using the iPhone SDK like 100.000 people do and what are the limitations
? In English
I mean shorly I can talk about Cocoa in general when I have questions ?

I have not talked about any iPhone API stuff but only Cocoa stuff (Core
Graphic) but
where should people like me turn to  talk to outhers when it comes to iPhone
API stuff ?

There are no forum or mailing list avaible ...

and for examples that are missing ... and seems realy hard to do ... that
should be simple i custom font

I have created my own TTF font and I want to use it in my app, Bundle it in
the resource ...

it would be unbelivable great with a example (samplecode) on how to do that

I think I´m on the right path with this

NSString* fontPath = [[NSBundle mainBundle] pathForResource:@"MyFont" ofType
:@"ttf"];

CGDataProviderRef fontDataProvider = CGDataProviderCreateWithFilename
(fontPath);

CGFontRef myfont = CGFontCreateWithDataProvider(fontDataProvider);

CGContextSetFont(context, myfont);


but I gues I´m not even close


any answer or help ... 1000 thanks ..


Best Regards

Andreas Gotfredsen, Sweden.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Adding spaces to an NSString
  • Next by Date: Re: Network communication with NSFileHandle & NSSocketPort
  • Previous by thread: Re: Network communication with NSFileHandle & NSSocketPort
  • Next by thread: Correct use of NSViewController
  • Index(es):
    • Date
    • Thread