Last active
June 17, 2020 19:33
Star
You must be signed in to star a gist
Output JVM Only font list for use with ColdFusion CFDocument
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--- 6/17/2020 | |
Output JVM Only font list for use with ColdFusion CFDocument | |
GIST: https://gist.github.com/JamoCA/fd9c86736f7625a951b811e27f115d34 | |
TryCFM: https://www.trycf.com/gist/fd9c86736f7625a951b811e27f115d34 | |
---> | |
<cfset environ = createObject("java", "java.awt.GraphicsEnvironment").getLocalGraphicsEnvironment()> | |
<cfset allFamilies = environ.getAvailableFontFamilyNames()> | |
<cfdump var="#AllFamilies#" output="browser" format="Text"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment