gvSIG feature requests #1544

Labeling: Allow to draw labels with Halo

Added by Francisco José Peñarrubia over 11 years ago. Updated over 10 years ago.

Status:Closed% Done:

0%

Priority:UrgentSpent time:-
Assignee:Juan Lucas Domínguez
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 11 years ago

  • Priority changed from Normal to Urgent

#2 Updated by Juan Lucas Domínguez over 10 years ago

  • Assignee set to Juan Lucas Domínguez

#3 Updated by Juan Lucas Domínguez over 10 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).

gvsig-desktop:r40714

#4 Updated by Joaquín del Cerro Murciano over 10 years ago

  • Target version changed from 2.1.0-2223-rc1 to 2.1.0-2217-devel

#5 Updated by Álvaro Anguix over 10 years ago

  • Status changed from Fixed to Closed

Also available in: Atom PDF