<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Bug: Primitive Overrides do not work for CIMTextSymbol (Dictionary Renderer) in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/bug-primitive-overrides-do-not-work-for/m-p/1680920#M5538</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/710993"&gt;@imbachb&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I noticed a few things looking at the style you provided. In the dictionary script the primitive name is &lt;STRONG&gt;label_symbol&lt;/STRONG&gt;&amp;nbsp;but in ArcGIS Pro it looks like the tag used on the text symbol is &lt;STRONG&gt;label_r&lt;/STRONG&gt;. Those need to be the same for the override to work, so either update the script or the Text Symbol in ArcGIS Pro so the primitive names match.&lt;/P&gt;&lt;P&gt;In the dictionary script I also needed to change the primitive property used in order to get the text size to actually change. Instead of using 'Height', I tried 'Size' and that seems to work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;keys += ';po:label_symbol|Size|22';&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Megan&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jan 2026 20:00:34 GMT</pubDate>
    <dc:creator>megan_r</dc:creator>
    <dc:date>2026-01-29T20:00:34Z</dc:date>
    <item>
      <title>Bug: Primitive Overrides do not work for CIMTextSymbol (Dictionary Renderer)</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/bug-primitive-overrides-do-not-work-for/m-p/1680693#M5537</link>
      <description>&lt;P&gt;We'd like to be able to dynamically adjust text sizes. We have for example following symbol containing a CIMTextSymbol. We add the primitive name "label_symbol" to the level where the height of the text symbol should be configurable.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
    "type": "CIMPointSymbol",
    "symbolLayers": [
        {
            "type": "CIMVectorMarker",
            "enable": true,
            "primitiveName": "label_r",
            "anchorPointUnits": "Relative",
            "dominantSizeAxis3D": "Z",
            "size": 10,
            "billboardMode3D": "FaceNearPlane",
            "frame": {
                "xmin": -7.5,
                "ymin": -5.0,
                "xmax": 7.5,
                "ymax": 5.0
            },
            "markerGraphics": [
                {
                    "type": "CIMMarkerGraphic",
                    "geometry": {
                        "x": 0,
                        "y": 0
                    },
                    "symbol": {
                        "type": "CIMTextSymbol",
                        "blockProgression": "TTB",
                        "depth3D": 1,
                        "extrapolateBaselines": true,
                        "flipAngle": 1,
                        "fontEffects": "Normal",
                        "fontEncoding": "Unicode",
                        "fontFamilyName": "Roboto",
                        "fontStyleName": "Bold",
                        "fontType": "Unspecified",
                        "haloSize": 0.75,
                        "haloSymbol": {
                            "type": "CIMPolygonSymbol",
                            "symbolLayers": [
                                {
                                    "type": "CIMSolidFill",
                                    "enable": true,
                                    "color": [
                                        0,
                                        0,
                                        0,
                                        255
                                    ]
                                }
                            ],
                            "angleAlignment": "Map"
                        },
                        "height": 8,
                        "hinting": "Default",
                        "horizontalAlignment": "Left",
                        "kerning": true,
                        "letterWidth": 100,
                        "ligatures": true,
                        "lineGapType": "ExtraLeading",
                        "offsetX": 33,
                        "offsetY": -23,
                        "symbol": {
                            "type": "CIMPolygonSymbol",
                            "symbolLayers": [
                                {
                                    "type": "CIMSolidFill",
                                    "enable": true,
                                    "primitiveName": "label_fill",
                                    "color": [
                                        255,
                                        255,
                                        255,
                                        255
                                    ]
                                }
                            ],
                            "angleAlignment": "Map"
                        },
                        "textCase": "Allcaps",
                        "textDirection": "LTR",
                        "verticalAlignment": "Center",
                        "verticalGlyphOrientation": "Right",
                        "wordSpacing": 100,
                        "billboardMode3D": "FaceNearPlane",
                        "primitiveName": "label_symbol"
                    },
                    "textString": "staffcomment/additionalinformation"
                }
            ],
            "scaleSymbolsProportionally": true,
            "respectFrame": true
        }
    ],
    "haloSize": 1,
    "scaleX": 1,
    "angleAlignment": "Display"
}&lt;/LI-CODE&gt;&lt;P&gt;In the dictionary script we added the primitive override referencing the primitive name&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;keys += ';po:label_symbol|Height|22';&lt;/LI-CODE&gt;&lt;P&gt;which however has no effect on the rendered symbol.&lt;/P&gt;&lt;P&gt;Is it not possible to change the height / size of a Text Symbol dynamically through primitive overrides?&lt;/P&gt;&lt;P&gt;Please find attached a zip containing the stylx file with the mentioned symbol and dictionary script. It is based on APP6-(E) but I removed all other symbols and reduced the dictionary script.&lt;/P&gt;&lt;P&gt;We're using ArcGIS Maps SDK v200.8 on Windows 10.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 12:15:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/bug-primitive-overrides-do-not-work-for/m-p/1680693#M5537</guid>
      <dc:creator>imbachb</dc:creator>
      <dc:date>2026-01-29T12:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Primitive Overrides do not work for CIMTextSymbol (Dictionary Renderer)</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/bug-primitive-overrides-do-not-work-for/m-p/1680920#M5538</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/710993"&gt;@imbachb&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I noticed a few things looking at the style you provided. In the dictionary script the primitive name is &lt;STRONG&gt;label_symbol&lt;/STRONG&gt;&amp;nbsp;but in ArcGIS Pro it looks like the tag used on the text symbol is &lt;STRONG&gt;label_r&lt;/STRONG&gt;. Those need to be the same for the override to work, so either update the script or the Text Symbol in ArcGIS Pro so the primitive names match.&lt;/P&gt;&lt;P&gt;In the dictionary script I also needed to change the primitive property used in order to get the text size to actually change. Instead of using 'Height', I tried 'Size' and that seems to work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;keys += ';po:label_symbol|Size|22';&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Megan&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 20:00:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/bug-primitive-overrides-do-not-work-for/m-p/1680920#M5538</guid>
      <dc:creator>megan_r</dc:creator>
      <dc:date>2026-01-29T20:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Primitive Overrides do not work for CIMTextSymbol (Dictionary Renderer)</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/bug-primitive-overrides-do-not-work-for/m-p/1683327#M5539</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363450"&gt;@megan_r&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply and the work-around. Yes, setting the size no the&amp;nbsp;CIMVectorMarker seems to work, and it is more or less what we need.&lt;BR /&gt;It would be interesting to be able to change the height of the&amp;nbsp;CIMTextSymbol via primitive overrides too, but changing the CIMVectorMarker size is good enough for now.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 12:48:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/bug-primitive-overrides-do-not-work-for/m-p/1683327#M5539</guid>
      <dc:creator>imbachb</dc:creator>
      <dc:date>2026-02-10T12:48:09Z</dc:date>
    </item>
  </channel>
</rss>

