Opened 18 years ago
Closed 13 years ago
#1908 closed enhancement (wontfix)
Can't have spaces in font names
Reported by: | Owned by: | sdlime | |
---|---|---|---|
Priority: | high | Milestone: | 5.6 release |
Component: | MapServer C Library | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
This is probably more of a wish list item than a bug, but right now you can't have spaces in font names. Here's how it bites me: Say I am emitting an SVG file and then importing it into Illustrator, where I'll in turn save it as an AI file and send it off to be printed on a super high quality printer... I'm using the Lucia Sans font and in my .map file, I call it lucidasans and in the fonts.txt fontset file, when rendering as a GIF with GD, it maps to a Lucida Sans truetype font and everything's fine. But when generating an SVG file, the font in there is called "lucidasans" and then my Mac wants to find lucidasans and can't -- it needs "Lucida Sans" so then without asking it substitutes some other stupid font like Arial MT that doesn't have my airplane glyph in it, so all my little airplane symbols, rotated to show the aircraft's heading with variable drop shadows to indicate the altitude are instead rendered as question marks. I don't have a simple backwards-compatible fix. The simple non-backwards-compatible fix is to use a tab to separate the logical font name from the filename in the FONTSET file. I can, of course, edit or postprocess my SVG file to fix it.
Change History (6)
comment:1 by , 18 years ago
Milestone: | → 5.0 release |
---|---|
Status: | new → assigned |
comment:2 by , 17 years ago
Description: | modified (diff) |
---|---|
Milestone: | 5.0 release → 5.2 release |
comment:3 by , 16 years ago
What if we supported quotes as a way to embed spaces? Or supported space, tab or comma delimited font files?
Steve
comment:4 by , 16 years ago
+1 on quoting font names. We'll want to have backward compatibility for a couple of releases (i.e. check names the existing way, if no match then check for quoted).
comment:5 by , 16 years ago
Component: | MapScript → MapServer C Library |
---|---|
Milestone: | 5.2 release → 5.4 release |
Type: | defect → enhancement |
Pushing to 5.4 regardless of solution... (unless I have a epiphany tonite)
Steve
comment:6 by , 13 years ago
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Closing WONTFIX: this is no longer an issue with Cairo rendering in 6.0 which embeds the characters as strokes in the output.
Note:
See TracTickets
for help on using tickets.
Sliding forward to the next release...