Welcome to MacBoardz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to activate font(s) in wake of ATSFontActivateFromFile..

 
   Macintosh computer (Home) -> Programmer Help RSS
Next:  QuickLook project 1333 Errors  
Author Message
slashlos

External


Since: Nov 13, 2005
Posts: 132



(Msg. 1) Posted: Sun Feb 03, 2008 11:28 am
Post subject: How to activate font(s) in wake of ATSFontActivateFromFileSpecification
Archived from groups: comp>sys>mac>programmer>help (more info?)

It seems in 10.5 this routine is deprecated but if you require a font to
be application available and had been using this to achieve private
activation, what now are your options?

Maybe I'm going about this all wrong but I wanted to package a font and
activate it at run-time. I hope not but the doc indication the change
doesn't lead one to any alternatives.

Help! TIA.
--
/los "I was a teenage net-random"

 >> Stay informed about: How to activate font(s) in wake of ATSFontActivateFromFile.. 
Back to top
Login to vote
Reinder Verlinde

External


Since: Feb 18, 2004
Posts: 137



(Msg. 2) Posted: Mon Feb 04, 2008 12:24 am
Post subject: Re: How to activate font(s) in wake of ATSFontActivateFromFileSpecification deprecation? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
slashlos wrote:

> It seems in 10.5 this routine is deprecated but if you require a font to
> be application available and had been using this to achieve private
> activation, what now are your options?

This is just one example of the general case "FSSpec is going out, use
FileReferences".

<http://developer.apple.com/documentation/Carbon/Conceptual/ATS_Concepts/
atsfonts_tasks/chapter_3_section_4.html> points to
ATSFontActivateFromFileReference its replacement.

Reinder

 >> Stay informed about: How to activate font(s) in wake of ATSFontActivateFromFile.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
windows: show vs activate? - I have generally managed windows in two ways in the past. I either close them and recreate them later, or hide them and show them later. I see another thing is possible, to activate or deactive a window. And this, unliking hiding, can be queried. You...

Activate Specific Version of an Application with Applescript - Hi folks, I'm trying to write an applescript to launch the application "FileMaker Pro". Unfortunately, at the moment the machines I'm writing it for all have multiple copies of filemaker pro on them (version 6 and 7). So, is there a way to t...

Programmatically wake a display - Simple question: any ideas on how to force a display that's asleep to wake up, using C? Thanks in advance for any information. Cheers, Ian

set default font how? - Ugh, sorry for this stupid newbie question, but I just can't seem to get this to work the way I want. I would like to be able to initially set the font of a new text view, and also to be able to programmatically change the leading. I do not particularly....

Help with application font/bundle - I'm working on a Carbon application that I need to include a custom font with. I'm having trouble integrating the font into the application bundle. If I manually place the font in ~/Library/Fonts, things work correctly. If I place the font in the..
   Macintosh computer (Home) -> Programmer Help All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]