Open GoogleCodeExporter opened 8 years ago
This is unfortunately a relatively involved bug to fix. iText does support the
necessary APIs to query whether a font contains a glyph for a particular
character though so it is possible. The tricky part is that this affects both
layout and rendering because the metrics of a particular chunk of text would be
dependent on the text itself and could not be statically determined from the
CSS and available font files. Additionally, since this is a feature most
people don't need, performance regressions would be unacceptable (although it
would be OK to hide this feature behind a config file switch).
Original comment by Peter.Br...@gmail.com
on 24 Mar 2011 at 12:35
I noticed that this would be the issue with the greatest ripple. Unfortunately
I feel this is a critical bug and that many people would need it. It just may
be in most cases that others have found a way around it by embedding fonts
directly into their PDF files. But for anyone trying to display characters that
are not in the base font, like foreign characters (Japanese) and mathematical
characters (omega symbol) without wanting to embed physical fonts, they will
need this or be forced to add additional unnecessary markup to their html to
get it to work.
iText has a utility that already breaks a piece of text into chunks and each
chunk has the appropriate font needed associated to it. Take a look at the
FontSelector class. I am not sure if this would help in getting the correct
information during layout and rendering.
Could you please take a look at this again as this issue is critical to our
project completion?
Thank you.
Original comment by loe...@gmail.com
on 24 Mar 2011 at 9:20
Another vote for symbol fallback. This would be an excellent (and expected)
thing to have working..
Original comment by jamiespe...@gmail.com
on 27 Oct 2014 at 2:17
Original issue reported on code.google.com by
loe...@gmail.com
on 23 Mar 2011 at 3:12