bug-gnustep
[Top][All Lists]
Advanced

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

[bug #25005] windows, cannot type certain characters


From: Fred Kiefer
Subject: [bug #25005] windows, cannot type certain characters
Date: Wed, 17 Dec 2008 20:31:26 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.9 (like Gecko) SUSE

Follow-up Comment #4, bug #25005 (project gnustep):

Now that os great, so it isn't a problem with events, it is jsut the drawing
code that is not working for certain characters.

My first idea, what may be causing this is the way we generate glyphs for a
font. The default code here looks like this:

- (BOOL) glyphIsEncoded: (NSGlyph)aGlyph;
{
  // FIXME: This is a hack for aGlyph == theChar fonts.
  if (coveredCharacterSet == nil)
    {
      [self coveredCharacterSet];
    }
  return [coveredCharacterSet characterIsMember: (unichar)aGlyph];
}

That is, we only generate our "glyph" when we know the font supports the
character. This could be the problem for you.

Looking at the code that tries to find the covered character set for a
windows font I see an issue that might stop that code from working, the cbThis
part of the GLYPHSET isn't set and Windows is rather paticular about those
values.
I will change this and you could give it a try.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25005>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/





reply via email to

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