poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6842] A clean-room implementation is needed of "FontMetrics"
Date Fri, 29 Oct 2010 21:44:30 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=6842

--- Comment #8 from David Fisher <dfisher@jmlafferty.com> 2010-10-29 17:44:26 EDT ---
See
http://svn.apache.org/repos/asf/pdfbox/trunk/pdfbox/src/main/appended-resources/META-INF/LICENSE

Apache PDFBox should have code that we can use to provide Font Metrics.
Unfortunately, this is only for the Base 14 fonts. The usefulness of having
non-Java font handling is to be able to measure text for a document where you
do not have the real font.

If you have the real font on your system then you can run in headless mode and
use standard routines. If you do not have the correct font, if you can detect
whether you are using a fixed, serif or non-serif then one of the base 14 can
be a reasonable though not accurate stand in for the font.

Something to discuss at Apachecon 2010

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message