mbuna

PrintTask, TextSymbol, PictureMarkerSymbol and Base64 encoded images

Discussion created by mbuna on Apr 4, 2013
Latest reply on Apr 19, 2013 by mbuna
When will the API support strokes/outlines/halos on esri.symbol.TextSymbol? It seems like a very high value feature for cartography, and TextSymbols output to an svg "text fill" element anyway, which supports strokes on text.

I ask because while it's not been a big deal to implement a solution for that locally within the browser, esri.tasks.PrintTask nor the server have any concept of a stroke. And as it's been mentioned a few times already on these forums, the PDF returned also fails to honor Align, Offset, and in my own testing, Angle properties set on the TextSymbol (it rotates in the opposite direction in the PDF).

When will PrintTask support Base64 encoded URIs within esri.symbol.PictureMarkerSymbol? I see in the 3.4 release notes here that PictureMarkerSymbol now supports Base64 URIs, but I've already been using them that way since 3.2 at least, using HTML5 canvas as a workaround for TextSymbol not supporting stroke.

However, when I send these PictureMarkerSymbols to print task, the PDF scales the image up, seemingly in direct relation to it's width to height ratio:

[ATTACH=CONFIG]23225[/ATTACH]

This isn't an issue at all when the URL provided for the PictureMarkerSymbol is a remotely hosted image file.

Attachments

Outcomes