Re: Custom Fonts in UI Webview

2009-09-16 Thread Ben Lachman
On Sep 15, 2009, at 10:08 PM, Alex Curylo wrote: On 15-Sep-09, at 6:57 PM, cocoa-dev-requ...@lists.apple.com wrote: You can do custom fonts on the iPhone, but you cannot use system controls to draw with them. You have to draw yourself each glyph. Sure you can. It's just tricky.

Re: Custom Fonts in UI Webview

2009-09-15 Thread Ben Lachman
On Sep 14, 2009, at 6:08 PM, Jens Alfke wrote: On Sep 14, 2009, at 2:43 PM, Ben Lachman wrote: I was looking at the NYTimes iPhone app today and noticing that it looks like they're using a UIWebView with a custom font (not sure what font though, anyone know?). I did some digging on how

Re: Custom Fonts in UI Webview

2009-09-15 Thread Jens Alfke
On Sep 15, 2009, at 1:46 PM, Ben Lachman wrote: However, I also found after checking the NYTimes app again that they're actually using Georgia for their font face, not anything custom. I know this is doable, though, because the app Eucalyptus includes custom fonts (the Libertine

Re: Custom Fonts in UI Webview

2009-09-15 Thread Alex Kac
You can do custom fonts on the iPhone, but you cannot use system controls to draw with them. You have to draw yourself each glyph. There is some info on the Apple iPhone Dev forums on how to do this. On Sep 15, 2009, at 5:41 PM, Jens Alfke wrote: On Sep 15, 2009, at 1:46 PM, Ben Lachman

Re: Custom Fonts in UI Webview

2009-09-15 Thread Alex Curylo
On 15-Sep-09, at 6:57 PM, cocoa-dev-requ...@lists.apple.com wrote: You can do custom fonts on the iPhone, but you cannot use system controls to draw with them. You have to draw yourself each glyph. Sure you can. It's just tricky. http://www.alexcurylo.com/blog/2009/05/29/custom-fonts/ --

Custom Fonts in UI Webview

2009-09-14 Thread Ben Lachman
Hey all. I was looking at the NYTimes iPhone app today and noticing that it looks like they're using a UIWebView with a custom font (not sure what font though, anyone know?). I did some digging on how to do this and couldn't come up with anything except one bit about @font-face being

Re: Custom Fonts in UI Webview

2009-09-14 Thread Jens Alfke
On Sep 14, 2009, at 2:43 PM, Ben Lachman wrote: I was looking at the NYTimes iPhone app today and noticing that it looks like they're using a UIWebView with a custom font (not sure what font though, anyone know?). I did some digging on how to do this and couldn't come up with anything