Implement handling of text attachment characters.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15827 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-01-31 21:36:00 +00:00
parent e5b20ddaed
commit 1e9d556988
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2003-01-31 22:33 Alexander Malmberg <alexander@malmberg.org>
* Source/art/ftfont.m (-_generateGlyphsForRun:at:): Implement
handling of text attachments.
2003-01-27 18:10 Alexander Malmberg <alexander@malmberg.org>
* Source/art/ftfont.m: Clean up includes.

View file

@ -2435,6 +2435,7 @@ GSLayoutManager glyph generation code.
#include <Foundation/NSCharacterSet.h>
#include <AppKit/GSLayoutManager_internal.h>
#include <AppKit/NSTextStorage.h>
#include <AppKit/NSTextAttachment.h>
@implementation GSLayoutManager (backend)
@ -2521,6 +2522,12 @@ fb04 'ffl'
continue;
}
if (ch == NSAttachmentCharacter)
{
g->g=GSAttachmentGlyph;
continue;
}
if (run->ligature>=1)
{
if (ch=='f' && ch2=='f' && ch3=='l' && fi->ligature_ffl)