>
> So, TL;DR: how do I find the Font Family name(s) corresponding to an
> arbitrary list of NSFontDescriptors from a font collection?
>
> —Graham
>
>
just looking at the docs for NSFontDescriptor I would guess
[ fontDescriptor objectForKey:NSFontFamilyAttribute ]
___
> On 31 May 2015, at 1:44 pm, Kyle Sluder wrote:
>
> you're much better
> off using NSFontDescriptor.
So here’s what I’m trying to do. I have a “simple” UI that, among many other
things, allows the user to choose a font for various things in a display. I
want to keep the set of choosable fo
I am building a list of links directly to the "Jobs" or "Careers"
sections of computer employer websites. Not just for coding jobs but
also hardware engineering, QA, project management, technical sales and
the like.
http://www.warplife.com/jobs/computer/
So far I've done this mostly in a very
May I Bear Your Firstborn?
Michael David Crawford, Consulting Software Engineer
mdcrawf...@gmail.com
http://www.warplife.com/mdc/
Available for Software Development in the Portland, Oregon Metropolitan
Area.
On Sat, May 30, 2015 at 9:38 PM, Seth Willits wrote:
>
> I can't tell you how many t
I can't tell you how many times over the years I've been frustrated by having
to manually search multiple frameworks' header files to look up what the symbol
or description for an error code value was. (I know 'macerror' exists, but I
have never had any luck with it. I consider it useless.)
I
> On 31 May 2015, at 1:44 pm, Kyle Sluder wrote:
>
> Here, you're asking for "all fonts that consider themselves to be both
> bold and unbold". This set is going to be empty (unless you have a
> particularly broken font installed).
Yeah, I just realised that though of course you’re adding trai
On Sat, May 30, 2015, at 09:42 PM, Graham Cox wrote:
> I’m using -[NSFontManager availableFontNamesWithTraits:] and I want to
> get the names of all of the fonts that have both a regular (plain) and
> bold option.
>
> I’ve tried various things, but this seems like it should work:
>
> NSArra
A quick test (in Swift no less) suggests to me that this function just doesn’t
work (TM).
I get non-zero results for these 13 flag combinations (count of fonts + mask)
and zero results for every other one of the 4096 combinations.
141 NSItalicFontMask
259 NSBoldFontMask
61 NSItal
I’m using -[NSFontManager availableFontNamesWithTraits:] and I want to get the
names of all of the fonts that have both a regular (plain) and bold option.
I’ve tried various things, but this seems like it should work:
NSArray* fonts = [[NSFontManager sharedFontManager]
availableFontName
Actually, i was typing by habit and included == instead of = by mistake.
So, while you answered the question, you may have answered the wrong question.
The question is not for
if ( self == [super init])
It's
if ( self = [super init])
How does that change your answer?
On May 30, 2015, at 6:
While in principle machine code implementations of subroutines can
return from several different places, in practice they don't. Rather
the compiler's code generator emits a branch instruction to the end of
the subroutine, there there is an "epilog".
There are many good reasons for returning from
11 matches
Mail list logo