Permalink
Browse files

RFC112: Retry displaced follow labels on maxoverlapangle colisions (#…

  • Loading branch information...
tbonfort committed Sep 30, 2014
1 parent e7b6ed2 commit 813f8855a6ba4bf61720b347d7034738fe3b0dce
Showing with 251 additions and 141 deletions.
  1. +2 −0 HISTORY.TXT
  2. +8 −0 fontcache.c
  3. +1 −0 fontcache.h
  4. +240 −141 mapprimitive.c
@@ -13,6 +13,8 @@ For a complete change history, please see the Git log comments.
7.2 release (FUTURE)
--------------------

- Reposition follow labels on maxoverlapangle colisions (RFC112)

- Implement chainable compositing filters (RFC113)

7.0.0 release (2015/07/24)
@@ -291,3 +291,11 @@ outline_element* msGetGlyphOutline(face_element *face, glyph_element *glyph) {
}
return oc;
}

int msIsGlyphASpace(glyphObj *glyph) {
/* space or tab, for now */
unsigned int space,tab;
space = msGetGlyphIndex(glyph->face,0x20);
tab = msGetGlyphIndex(glyph->face,0x9);
return glyph->glyph->key.codepoint == space || glyph->glyph->key.codepoint == tab;
}
@@ -80,6 +80,7 @@ outline_element* msGetGlyphOutline(face_element *face, glyph_element *glyph);
glyph_element* msGetBitmapGlyph(rendererVTableObj *renderer, unsigned int size, unsigned int unicode);
unsigned int msGetGlyphIndex(face_element *face, unsigned int unicode);
glyph_element* msGetGlyphByIndex(face_element *face, unsigned int size, unsigned int codepoint);
int msIsGlyphASpace(glyphObj *glyph);

#ifdef __cplusplus
}
Oops, something went wrong.

0 comments on commit 813f885

Please sign in to comment.