Skip to content

Instantly share code, notes, and snippets.

@JamoCA
Last active June 17, 2020 19:33
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save JamoCA/fd9c86736f7625a951b811e27f115d34 to your computer and use it in GitHub Desktop.
Output JVM Only font list for use with ColdFusion CFDocument
<!--- 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