discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text label mis-sizing / clipping


From: Kazunobu Kuriyama
Subject: Re: Text label mis-sizing / clipping
Date: Wed, 22 Sep 2004 23:30:58 +0900
User-agent: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.4) Gecko/20030624 Netscape/7.1

Alexander Malmberg wrote:

Benhur Stein wrote:

One simple thing that could diminish the impact of a too small space
to show all glyphs would be to not only show complete glyphs but also
glyphs that are cut by the rectangle in NSString's -drawInRect:, and
let them be clipped by the clipping rectangle. Most places where
strings are cut because of one or two pixels, the cutting would not be
perceptible, or at least would be better than what we currently have.


I think it'd be perceptible, but it would be a lot better than dropping complete characters. However, it isn't at all easy to convince the text system to do this instead of the normal word wrapping (which is what it's attempting now; after all, the label could be multi-line). I'll keep it in mind; maybe some sensible way of doing this will turn up.

I have two questions:
(1) Why is it more feasible to make a label taller than to make it
   wider?
(2) The notion of word wrapping applies only to text consisting of
   two or more words (and perhaps implicit/explicit delimitors
   between those words, depending on the nature of a language in
   use). What happens for a single, lengthy word, which can be
   seen more frequently in German than in English?

Thanks,
Kazunobu Kuriyama





reply via email to

[Prev in Thread] Current Thread [Next in Thread]