Jump to content

Recommended Posts

Posted

Hello,

I am trying ot use a custom font in a report, but have run into a snag.

I have looked around pretty extensively, and have managed to get the font installed into iReport, as well as deployed to the Jasperserver system and even to the point of embedding the font into exported .PDF versions of the report or dashboard.  So from that aspect, we are all working fine.

The ONLY problem I have is that the report/dashboards are mostly intended for online viewing, and, currently, if the client does not have the appropriate font installed, it will default to whatever the system replacement is.

Again, I have looked all over, and mostly find references to making the font embedded into a .PDF...which isn't a problem for me.

I have followed this set of instructions which seem pretty popular:  https://mdahlman.wordpress.com/2010/04/16/fonts-in-jasperserver-3-7/ as well as this (which had another approach at the end:  http://stackoverflow.com/questions/11017223/how-to-embed-font-courier-new-in-jasperserver among some others (which did not resolve the issue).

I may be overlooking something very basic, and if so, I apologize, but this is driving me crazy...how do you embed a font into a report that is intended to be viewed via a web browser?  I happen to have a CSS reference that I could use for this font:

@font-face {
  font-family: 'alarm clock';
  src: url('http://www.fontsaddict.com/fontface/alarm-clock.ttf');
}
but I am not a web designer and dont' know if this could even be used as a font reference in a report.
 
Any help is greatly appreciated.
  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...