JavascriptAPI 4.1 : when adding a label grapgic layer in offline maps locally deployed and using text symbol, the label is not shown and it gives an error as mapview-invalid-resource, couldn't find font arial-unicode-ms-regular. falling back to Arial Unicode MS Regular. No matter what font family you set it aslways show this error. and lebels are never shown.
This is when trying to use the DistanceMeasurement2D and AreaMeasurement2D widgets. The graphics are not drawing correctly on the map when using the widgets. This is the standard map view, not using a webmap.
I recognize this is old, and may not even be the same issue. But in case it is helpful for anyone else. I was having the same issue as JoshKing and (sort of related to the OP's issue) RE font error. When looking at network traffic looked like I was getting a 403 when the API was trying to call -unicode-ms-regular/0-255.pbf to get the font for the measure widget's labels.
LibreOffice is a Unicode based applications, so all the fonts are Unicode. Arial is available with LibreOffice and can be selected directly, it is not called Arialuni.ttf. On my system there are five arialxxx.ttf fonts. I assume that you are using Windows and your system may not be set up to use Unicode characters directly. Which particular Unicode characters / languages do you wish to access? There are over 128,000 Unicode characters. As you can imagine few fonts will contain them all as they would be enormous and inefficient. However, on my LibO system all the characters are available spread over a number of fonts.
Perhaps you need the font with MS office. LibreOffice on my Linux-Mint system has a choice of fonts depending on the language chosen and no need for an Arialuni whose shape will be optimised for the Latin alphabet. @Rosalie has not said which languages she needs the characters for, or perhaps it was just a general enquiry.
This problem arose suddenly. Whenever I try to write Arial in any Microsoft Office application (including WordPad) the text appears italic. Changing it to italic and back just does nothing, the text remains italic in both settings.
This is not a system wide issue with the font itself, for example webpages for which I set the font to Arial in 'Inspect Element' show up as expected. If I upload the same Powerpoint file to OneDrive and view it in the WebApp, it is also displayed normally. Printing the local file as PDF (I don't have a physical printer), however, also exports it italicised, even if viewed in different applications (Edge, Adobe Acrobat) or uploaded to OneDrive.
Update: After having solved it, I believe that it also didn't render the webpage with Arial, but used some fallback that looked very similar (or maybe pulled it from somewhere online?). Nevertheless, it appears like it actually was a system-wide error and the Word WebApp used a remote version of Arial to render it correctly.
Change value to the filename as displayed in cmd dir C:\Windows\Fonts and (I'm not sure if strictly necessary) the name to the respective name of the font, as seen in the font preview window when double-clicking a font file, with an added "(TrueType)" if it supports it.
Looking at the fonts setting (in Settings), I saw that it was installed, but when navigating to the global fonts folder C:\Windows\Fonts did not list the default Arial font, but only its variations, such as bold and italic.
Notably, viewing this specific folder in Explorer does not actually show the folder's contents on the disk; it only shows correctly installed fonts. Looking at the folder from CMD with dir C:\Windows\Fonts shows the actual files at that location. CMD showed that arial.ttf was present but not installed according to the folder view in Explorer.
3a8082e126