G’day Shane
I’m only using the default font that is set for text fields in Xcode in Yosemite. They all use it on my iMac, dunno why.
I’m trying to Bold just two words in the text field, not the whole lot. My code as posted drops the size of the bolded text by at least two points within the body of the text.
I’ve also tried…
# (attributedSearchItem's convertFont:"Hiragino Kaku Gothic" toSize:13)
but can’t work out how to use it properly either. Darn translation from ObjectiveC to ASObjC is a pain, and I have never been able to find a site that shows how to do it, so I regularly have to ask for help, sorry.
why I’m asking, is it possible with the above line to set some sort of variable to convertFont: to ANY font, just in case of no match?
Regards
Santa
On 10 Aug 2015, at 5:46 pm, Shane Stanley < email@hidden> wrote: On 10 Aug 2015, at 5:08 pm, Brian Christmas < email@hidden> wrote:
set myFont to (current application's NSFont's fontWithName:"Hiragino Kaku Gothic ProN W3" |size|:13)
Is there some reason you are using a Japanese font?
Whatever, the easiest solution is to use a bolder version, like W6 or W8.
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|