Opened 16 years ago
Closed 15 years ago
#2398 closed defect (fixed)
AGG does not render text or truetype symbols using character number
Reported by: | tbonfort | Owned by: | tbonfort |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | AGG | Version: | 5.2 |
Severity: | normal | Keywords: | |
Cc: | project10@… |
Description
from http://mapserver.gis.umn.edu/docs/reference/symbology/examples :
setting a character for truetype symbols can be done by specifying its character number (same way as with html entities)
CHARACTER "r"
which is not supported by the AGG font rendering
Attachments (3)
Change History (8)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Confirmed, the TrueType labels are now displayed. Thank you tbonfort.
by , 15 years ago
Attachment: | symbols_with_GD.png added |
---|
Symbols with GD using arial font and MapInfo Symbols font
by , 15 years ago
Attachment: | symbols_with_AGG.png added |
---|
Symbols with AGG using arial font and MapInfo Symbols font
comment:3 by , 15 years ago
Priority: | normal → high |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Version: | unspecified → 5.2 |
All is OK when rendering uses GD. When rendering uses AGG symbols with Mapinfo Symbols font are not well rendered.
The symbols :
SYMBOL
NAME "mapinfosymbols_x0037"
TYPE TRUETYPE
FONT mapinfosymbols
FILLED true
ANTIALIAS true
CHARACTER'7'
END
SYMBOL
NAME "arial_x0021"
TYPE TRUETYPE
FONT arial
FILLED true
ANTIALIAS true
CHARACTER "!"
END
See symbols_with_GD.png to view the result with GD. See symbols_with_AGG.png to view the result with AGG. All is in the ZIP file.
by , 15 years ago
Attachment: | symbols_with_GD_and_AGG.zip added |
---|
all files to test (without arial font)
comment:4 by , 15 years ago
It seems that the symbol fonts are not supported by AGG.
OGG supports only character fonts.
comment:5 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
lookup by character number is ok.
for the problem raised by elzouavo, see #3018
should be fixed in r7040 . project10, can you confirm and close the bug ?