scaling a glyph to fit a rect?
scaling a glyph to fit a rect?
- Subject: scaling a glyph to fit a rect?
- From: email@hidden
- Date: Wed, 11 Jun 2003 13:24:30 -0700 (PDT)
Hello,
Can an NSGlyph (from a monospaced font) be scaled up or down to fit in a given
rect. I implemented a custom typesetter for my terminal app, and I can pretty
much control the width by using [NSLayoutManager setLineFragmentRect...] and
[NSLayoutManager setLocation], but sometimes the glyph is not drawn to use the
vertical space of the line fragment rect. The height of the line fragment rect
is determined by another font.
Can this be done?
Thanks,
Ujwal
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.