NRCan / Legend-Renderer

A C# based set of tools intended for ArcGIS Desktop suite, delivered as an esriaddin format. This tool is meant to create a graphic legend inside Arc Map from a given legend table.
Other
3 stars 0 forks source link

Multiple font option #13

Closed ghuotvez closed 10 months ago

ghuotvez commented 11 months ago

From a user:

Legend renderer: currently we can use GSC_SymbolStandard1.ttf as 2.03.01.026 for Label1 annotations. Is it possible to change it so that we can use fonts from the 3 ttf files (GSC_SymbolStandard1.ttf ,...2.tff, 3.ttf)

Currently, the config json file only allows for 1 font mod at the time.

ghuotvez commented 11 months ago

Actually, this is a request from the team that works on the surficial standard style at the GSC. They need the annotation graphic to work with something else then GSCSymbolStandard1.ttf font file for a given element of their official legend.

In this cas, the code should be able to adapt the annotation graphic to whatever is set within the chosen style number. For example, in the style within the text symbols category. If user adds a new element in there, which uses let's say GSCSymbolStandard3.ttf rather then Standard1, the created annotation graphic should set the font to this rather then keeping it from the copied graphic and let it be like so.