intive-fdv / dynamicjasper-core-fonts Goto Github PK
View Code? Open in Web Editor NEWSome public well known ttf fonts to be used with DynamicJasper
Some public well known ttf fonts to be used with DynamicJasper
I'm trying to use this library with JasperReports 6, but I'm getting an exception:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fontBean133462384309185621' defined in URL [xx..../WEB-INF/lib/DynamicJasper-core-fonts-1.0.jar!/fonts/fonts1334623843090.xml]: Initialization of bean failed; nested exception is org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [net.sf.jasperreports.engine.fonts.SimpleFontFamily]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
So I was checking the fonts1334623843090.xml file and I can see that it is using some properties that are either deprecated or missing from: net.sf.jasperreports.engine.fonts.SimpleFontFamily
For example, the "normal" property has been marked as deprecated.
Any ideas how can I solve this?
Thanks
We can't use this package because of licensing issues, which leaves us stuck with the "Arial not found" error. In general, the fonts distributed with Microsoft Windows are not public domain and cannot be packaged and redistributed.
Our company took the solution of using an open-source font and changing the fonts used in our Jasper Reports .jrxml files.
From Arial.ttf (viewed raw file in Notepad++):
Typeface © The Monotype Corporation plc. Data © The Monotype Corporation plc/Type Solutions Inc. 1990-1992. All Rights ReservedContemporary sans serif design, Arial contains more humanist characteristics than many of its predecessors and as such is more in tune with the mood of the last decades of the twentieth century. The overall treatment of curves is softer and fuller than in most industrial style sans serif faces. Terminal strokes are cut on the diagonal which helps to give the face a less mechanical appearance. Arial is an extremely versatile family of typefaces which can be used with equal success for text setting in reports, presentations, magazines etc, and for display use in newspapers, advertising and promotions.Monotype:Arial Regular:Version 2.82 (Microsoft)ArialMTArial¨ Trademark of The Monotype Corporation plc registered in the US Pat & TM Off. and elsewhere.NOTIFICATION OF LICENSE AGREEMENT
This typeface is the property of Monotype Typography and its use by you is covered under the terms of a license agreement. You have obtained this typeface software either directly from Monotype or together with software distributed by one of Monotype's licensees.
This software is a valuable asset of Monotype. Unless you have entered into a specific license agreement granting you additional rights, your use of this software is limited to your workstation for your own publishing use. You may not copy or distribute this software.
If you have any question concerning your rights you should review the license agreement you received with the software or contact Monotype for a copy of the license agreement.
Monotype can be contacted at:
USA - (847) 718-0400 UK - 01144 01737 765959
http://www.monotype.comMonotype Type Drawing Office - Robin Nicholas, Patricia Saunders 1982http://www.monotype.com/html/mtname/ms_arial.htmlhttp://www.monotype.com/html/mtname/ms_welcome.htmlhttp://www.monotype.com/html/type/license.html
Hi,
These fonts work great with english character. Unicode / CJK support will be a nice addition.
Thanks,
Thomas
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.