/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{getFontFamily as t}from"../../../../../core/fontUtils.js";import{fromCIMFontDecoration as e,fromCIMFontStyle as n}from"../../../../../symbols/cim/utils.js";function i(e){const{style:i}=n(e.fontStyleName);return`${t(e.fontFamilyName)}_${i}`}function o(i){const o=e(i),{style:m,weight:E}=n(i.fontStyleName);return{family:t(i.fontFamilyName),decoration:o,style:m,weight:E}}var m;!function(t){t.objectId="OBJECTID",t.shape="SHAPE",t.dimLength="DIMLENGTH",t.beginX="BEGINX",t.beginY="BEGINY",t.endX="ENDX",t.endY="ENDY",t.textX="TEXTX",t.textY="TEXTY",t.styleId="STYLEID",t.dimX="DIMX",t.dimY="DIMY",t.customLength="CUSTOMLENGTH",t.useCustomLength="USECUSTOMLENGTH",t.dimDisplay="DIMDISPLAY",t.extDisplay="EXTDISPLAY",t.markerDisplay="MARKERDISPLAY",t.extAngle="EXTANGLE",t.dimType="DIMTYPE",t.textAngle="TEXTANGLE"}(m||(m={}));export{m as DimensionRealFieldName,o as getFontForCIMTextSymbol,i as getFontNameForCIMTextSymbol};
