MacOS – What is the Default Cursive Font?

fontfont-book

I am working on a Processing project for fun and I wanted to use the cursive font that is usually called in HTML and everything else, "cursive" or "Cursive," but in Processing it does the default sans-serif (Arial I think). Does anyone know what the actual name of this font is? "Times" and "Marker Felt" do work, but "monospace" also doesn't.

A snippet of my code (though not necessary as this is a question about macs and not code):

textFont(createFont("Cursive", width*0.75/9));

Post-scriptum: I did check font book and wikipedia, but not thoroughly.

Best Answer

WebPreferences has properties for each of the standard font families. See

Apple doesn't publish the defaults for each of these, but you can use an Xcode playground to quickly print them:

let prefs = WebPreferences()
prefs.standardFontFamily  // Times
prefs.sansSerifFontFamily // Helvetica
prefs.serifFontFamily     // Times
prefs.fixedFontFamily     // Courier
prefs.fantasyFontFamily   // Papyrus
prefs.cursiveFontFamily   // Apple Chancery