How to achieve Large Type like Address Book?
Within Address Book you can click on a contact's phone number label and select the option 'Large Type' which displays the phone number in large text in what appears to be an HUD window. I saw one other application use this but 开发者_如何学Pythoncannot figure out how to achieve this.
What really interests me is
- how they have the titlebar-less window.
- the text has a drop shadow
- the font size shrinks to fit if it's really long.
The only way I was thinking of doing this is creating a regular HUD window, and manually coding something that determines the size of font to show depending on how many characters.
You can use Quicksilver for this. There's an old article talking about how to use Quicksilver for timed reminders that uses the Large Type feature.
If you just want to show some text with a large font you could do it inside your browser with large-type.com:
$ open http://large-type.com/#YourText
精彩评论