There's more to experience when you log in!
Hi, I have a MapInfo layer with custom True Type Font Symbols. When I upload this layer to SSA, I do not see these fonts.
Can you let me know, how to install these custom fonts to SSA?
You need to build the custom symbols into a JAR file and then publish this JAR file on your Spectrum server.
Here are some more details:
Building the WAR
Open command line or Shell prompt and run the following commands. Make sure to execute them in the folder where the images are actually located (otherwise you get folders in the jar file)
jar cvf <MyJarFileName>.jar *.png
where <MyJarFileName> is the name of the JAR file you are creating. This statement will include all the png files in the JAR file you are creating.
Deploying the JAR on the server
Copy the newly created JAR file and paste it into this folder on the Spectrum server: install_dir/server/modules/spatial/lib.
where install_dir is the folder where you installed SSA, typically C:\Program Files\Pitney Bowes\Spectrum.
Thank you Peter,
Are these steps the same, if I have True Type Font in *.ttf file?
jar cvf <MyJarFileName>.jar *.ttf
You are rigth Peter, I have installed Tru Type Font on server with standard way and the layer in now displayed correctly. Thank you for your help. Marek?
Someone sent me back to this more than year old discussion as I guess in aggregate it is confusing. So here's what I hope is a good summary.
Spectrum Spatial uses True Type fonts directly from the operating system. Whether Linux or Windows, the fonts should be installed in the standard way and then Spatial will automatically see them.However, they must be Unicode fonts. Older fonts from non-Unicode Windows days will not be used and are not supported by Java. But most fonts these days are available as UnicodeThis also means that creating true type fonts for symbols requires they be Unicode as well.Unfortunately, the word custom is overloaded here because it can also refer to image symbols that you want to use. These are the same idea as the images that MapInfo Pro deploys in the CustSymb folder of every installation. Spectrum Spatial includes most of the same images that MapInfo Pro ships with out of the box. Users can add their own images within size reasons in that folder and they can be used in MapInfo Pro. There is a button in MapInfo Pro that allows searching for the new symbols without restarting.Before version 2018.2 of Spectrum Spatial, to do the same thing required bundling up images in a jar (really just a zip file with .jar extension) and placing them in the code folder of Spatial (the server/modules/spatial/lib). Then you had to restart. Some of the comments in this thread were around that process.My article of a year ago was to introduce the fact that this part had changed and you could now just drop images into a folder that the admin controls and they would work without restart and the UI in Spatial Manager would show them when modifying the style of a point layer, for example. They would also automatically work in Analyst once configured as part of a layer.To do this, the admin has to setup where those symbols will live by editing a file called "classpath.ext" that is located in the server/modules/spatial folder under wherever you installed Spectrum.That text file will have a commented out example which you can change. In my example, the images will be put into c:\SpatialFiles\SpatialSymbols. The final folder does need to be named SpatialSymbols.## Spatial Symbols#D:\Spatial Custom\SpatialSymbolsC:\SpatialFiles\SpatialSymbolshttp://support.pb.com/help/spectrum/19.1/en/webhelp/Spatial/index.html#Spatial/source/Development/devguide/tutorials/custsymbols/overview.htmlThat 's really it. Keeping straight the difference between custom image symbols (png, gif, bmp, jpeg) and true type is really the main issue.