I’m developing a web app using JSP/Javascript, it lets user upload a local fonts file, how to get the font Title from the font’s file property in the JSP page, with Java or Javascript ?

See details from the attached picture, I want to get the value of the “Title” which is : A.C.M.E Explosive Bold
I want to show user the info before they actually hit the submit button and upload it.
Yes, it needs to happen on the user side and looks like the following :

I wrote a library to do this. See an example here. The file you’ll want to look at in particular is fontificate.js, as well as the index.html inline scripts. Calabash.js is another library I wrote for promises and can be for the most part ignored (as long as it’s still included).