Solved

Hi, I get a few points out of an oracle database with an sql creator. Next I need to display these Points but not as "normal" point but as a symbol out of an Font. How can I do this?


FME Desktop 2022.2.3

icon

Best answer by david_r 27 April 2023, 13:48

View original

10 replies

Userlevel 6
Badge +31

You can do this using a Labeller or LabelPointReplacer.

Any example how to setup? E.g. use windings Font "0x40" to replace the Point (and than export this to pdf?)

 

Labeller 

 

Userlevel 4

For PDF output you should add the PDFStyler and specify the font (e.g. Wingdings) there.

Alternatively, you can use the TextStroker to convert the symbol into vectors.

can't find an option in the pdfStyler where I can replace the point as a font icon? Even I find no examples online. ... anyone have a example?

Userlevel 4

can't find an option in the pdfStyler where I can replace the point as a font icon? Even I find no examples online. ... anyone have a example?

You'll have to use the LabelPointReplacer before the PDFStyler. Example:

imageResult:

image

You'll have to use the LabelPointReplacer before the PDFStyler. Example:

imageResult:

image

Something I do still wrong?

PDFStylerimage 

Result:

 

image 

 

 

Userlevel 4

You'll have to use the LabelPointReplacer before the PDFStyler. Example:

imageResult:

image

You won't see the result in the FME Data Inspector, as it renders the text using its own font without considering the font choice set in the PDFStyler. You'll have to write the label to a PDF file to see the results.

You'll have to use the LabelPointReplacer before the PDFStyler. Example:

imageResult:

image

Thx a lot!

Userlevel 4

You'll have to use the LabelPointReplacer before the PDFStyler. Example:

imageResult:

image

I forgot to say, if you simply need to visualize the label using the correct font for quality control, you could use the TextStroker before visualizing the result.

You'll have to use the LabelPointReplacer before the PDFStyler. Example:

imageResult:

image

This was the last step! Thank you very much!

Reply