How to add .TTF
OpenType to ColdFusion 2016 (64-Bit)?
The font has a paid Server-License from LinoType.com.
I added it to Font Management, but it doesn't show on PDF-generation.
Asked
Active
Viewed 463 times
1

Brian Tompsett - 汤莱恩
- 5,753
- 72
- 57
- 129

zani
- 88
- 9
-
Where there any errors when you added the font via the administrator interface? Check the log files. – Miguel-F May 14 '18 at 12:07
-
@Miguel-F The problem is difference between OpenType and TrueType. I don't see any errors during installation. – zani May 14 '18 at 12:14
-
I think ColdFusion supports OpenType OTF fonts. What do you mean _The problem is difference between OpenType and TrueType_? – Miguel-F May 14 '18 at 12:24
-
What happens when you list all fonts? It could be that CF requires a different font name when embedding. https://gist.github.com/timcunningham/3794186 (NOTE: I gave up on CFDocument and switched to WKHTMLTOPDF w/webfonts. It's a lot more flexible works with most HTML5/CSS3 whereas CFDocument understands only a subset of CSS.) – James Moberg May 14 '18 at 18:50
1 Answers
1
I added the font via Custom Fonts and it doesn't work (some fonts). When I install it in Windows-Fonts then it works correctly. Here are steps :
- Copy the font in your
C:\Windows\Fonts
. It will automatically install it. - Once it is installed, restart the ColdFusion service.
- Log into the ColdFusion Admin > Font Management and check your font.