gvSIG feature requests #1544
Labeling: Allow to draw labels with Halo
| Status: | Closed | % Done: | 0% | |
|---|---|---|---|---|
| Priority: | Urgent | Spent time: | - | |
| Assignee: | ||||
| Category: | Labeling | |||
| Target version: | 2.1.0-2217-devel | |||
| gvSIG version: | 2.0.0 | Add-on resolve version: | ||
| Keywords: | Add-on resolve build: | |||
| Has patch: | No | Proyecto: | ||
| Add-on name: | Unknown | Hito: | ||
| Add-on version: |
Description
To solve it, have a look to this ticket:
https://devel.gvsig.org/redmine/issues/1537
The key point it to use Glyphvector to draw the halo before the text:
GlyphVector glyph = font.createGlyphVector(frc, aux);
Shape outlineChar = glyph.getOutline();
g.setStroke(haloStroke);
g.setColor(Color.white);
g.draw(outlineChar);
History
#1
Updated by Manuel Madrid about 13 years ago
- Priority changed from Normal to Urgent
#2
Updated by Juan Lucas Domínguez over 12 years ago
- Assignee set to Juan Lucas Domínguez
#3
Updated by Juan Lucas Domínguez over 12 years ago
- Status changed from New to Fixed
- Target version set to 2.1.0-2223-rc1
Restoring code previously commented out to allow fonts with halo (and with anti-aliasing).
#4
Updated by Joaquín del Cerro Murciano over 12 years ago
- Target version changed from 2.1.0-2223-rc1 to 2.1.0-2217-devel
#5
Updated by Álvaro Anguix over 12 years ago
- Status changed from Fixed to Closed