to it,
No, the latter can't happen. The 0.20.5 branch even tests
for this and aborts in that case.
J.Pietschmann
be able to just put the leader
and the page number citation in one justified line.
J.Pietschmann
words without whitespace which overflow the
available apsce in the line, you should arrange for hyphenation or
insert zero width space (see FAQ 3.8 at
http://xml.apache.org/fop/faq.html
for hints). If your labels are really wide images or glyphs, you are
out of luck.
J.Pietschmann
().
J.Pietschmann
/after
block spaces or by fiddling with line heigths (or both).
Duh, an example in the Wiki would be in order...
J.Pietschmann
with different
font-families?.
If you install and use a user font which has all necessary glyphs, for
example the well known Arial Unicode font, you don't have to switch the
font family in the FO source.
J.Pietschmann
Glen Mazza wrote:
Yes, making PageSequenceMaster flexible--bidirectional, resettable, directly
accessable in a static manner for any given page,
The latter would be tricky, at least because of page masters for blank
pages. Backtracking N pages should be possible though.
J.Pietschmann
block around the FOP code and log
any exception you get.
J.Pietschmann
for now.
I'm somewhat uneasy with having an important if not essential
subsystem developed outside (unless already widely used elsewhere),
but I certainly wont veto anything which advances the project.
+0
J.Pietschmann
warning system as
powerful and complex as that of GCC. Same for fine grained layout
control.
J.Pietschmann
, and the already quoted text from the
spec, I'm pretty sure you're right.
I just hope this breaking-up of the
span-reference-areas won't cause too many problems with keeping the
footnotes working. I'm a bit worried about that.
Me too. But I'm confident you'll manage this :-)
J.Pietschmann
that, a release as a sign that the project isn't dead is
highly recommended, regardless of bugs and incomplete features.
J.Pietschmann
.
But they do have a Service class!
J.Pietschmann
?
+1
J.Pietschmann
command line options can be reused elswhere.
J.Pietschmann
in the context of the ancestor block
of the inline container. Unless I misunderstood the spec, of
course.
The real headache is caused by the anticipation that the most
common use case for inline container will be embedding tables
inline, for all kind of purposes...
J.Pietschmann
restarting at step 2 or creating a page break before
the line (possibly leaving a lot of ugly empty block space at the end
of the previous page). And so on :-/ I'd like to see real use cases
for this before I maltreat my brain by further thinking about layout
strategies.
J.Pietschmann
Jeremias Maerki wrote:
The discussion will be exclusively on
[EMAIL PROTECTED]
I've just detected I'm not subscribed to [EMAIL PROTECTED]
Duh!
J.Pietschmann
Hi devs,
there is a @todo tag in BookmarkData.java. JavaDoc 1.4 doesn't
know about this.
Question: What's the current policy for marking TODO items?
Hint: Eclipse up to 3.0 uses only TODO by default.
Regards
J.Pietschmann
of the mass source compile.
I know that servlet.jar isn't big. It just seems to be out of
place. After all, Xalan doesn't ship with servlet.jar either.
*bg* this begs the question: What *are* the right exceptions?
Yeah. *rbg* Damn good question, one I keep pushing on before me.
Hehe! :-)
J.Pietschmann
patterns the
start of a trend which will end with a fop-core.jar, fop-api.jar,
fop-pdfrenderer.jar, fop-j2drenderer.jar, fop-awt-application.jar,
fop-cli.jar, fop-anttask.jar and, of course, a fop-all.jar? :-)
J.Pietschmann
Jeremias Maerki wrote:
Yep:
...
I'm pretty sure you'll find more of these.
Does this mean the methods and associated fields can be safely
removed?
J.Pietschmann
Jeremias Maerki wrote:
the javadocs Ant task [1] you can manually add support for a todo tag.
According to the docs, this requires Java 1.4. We could disable
generating javadocs in a 1.3 environment.
J.Pietschmann
, and still have no idea how to
get rid of them. The Ant jar should be in the classpath,
unless I'm greatly mistaken, as the javadocs task uses
the same class path reference as the compile task.
Another uncreative task: fix the Checkstyle complaints for
Constants.java :-)
J.Pietschmann
projects, but we ought to
support hyphenation out of the box at least for a few languages.
After all, hyphenation is part of the FOP core business, in
contrast to, e.g., providing a servlet.
J.Pietschmann
with company and division
logos in the headers, I'd probably like to keep them
in the cache across different rendering runs.
But this can be left for later fine tuning.
J.Pietschmann
. It might be worth
a try though.
On the other side, maybe we should really take the time to write up a
short specification for the API and to have that voted on.
What's wrong with the spec in the Wiki?
J.Pietschmann
straightforward
to implement.
J.Pietschmann
Jeremias Maerki wrote:
(It's probably best to collapse Development and Design into one tab.
Too many tabs are not ideal.
I second that.
J.Pietschmann
interesting indeed ... as soon as I finish working on the
line-adjusting I'll spend some more thought on this ...
Sounds like we'll get more improvements soon...
J.Pietschmann
be really really fun.
J.Pietschmann
, in particular network connection pooling
and multiplexing
- XML creation
- Java object persistence
The list isn't complete of course.
J.Pietschmann
?
J.Pietschmann
for
committership in Apache FOP.
+1 from me.
J.Pietschmann
probably move all jars to ~/.ant/lib and point
optional.lib.dir there. Grmbl.
J.Pietschmann
question: I used to have old (maintenance branch) jars
for FOP and Batik in the repository, which causes compilation
problems. Therefore it might be a good idea to include only
specific fles rather than *.jar in the classpath set. WDYT?
J.Pietschmann
siarom egrub wrote:
Could you please advise on how to get a table centered
on a page?
This is a FAQ, either
http://xmlgraphics.apache.org/fop/faq.html#fo-center
or
http://xmlgraphics.apache.org/fop/faq.html#fo-center-table-horizon
J.Pietschmann
this seems to fit.
J.Pietschmann
IDEs,
long identifiers shouldn't impair typing too much.
I'll probably expand randomly choosen names in the future, which
may include class names. Tell me now if you don't like this.
Regards
J.Pietschmann
. Neither
is completely foolproof, in particular ther may be people with JCE
providers other than bouncy castle.
J.Pietschmann
Manuel Mall wrote:
I noticed we don't have any hyphenation testcases in the layout engine test
suite.
I'm working on that, as well as on test case for TR14 compatible
line breaking (not yet implemented though...).
J.Pietschmann
there is a difference between leaders using the dot character
(for the foo...page 19 style) and a leader which is a dotted line
(rule-style=dotted). THe rule-thickness only applies to the second
leader style.
J.Pietschmann
Hi all,
fresh on freshmeat:
http://freshmeat.net/releases/207188/
Can this be used to provide tests for the PDF renderer?
J.Pietschmann
if this sounds suboptimal.
J.Pietschmann
- offDocumentItems
- paddingPt
- pgNbField
- pixSzMM
- propEx
- relbase (but relativebase used elsewhere)
- resSpace: reserved? resolved? reset? randomly enhanced space?
- rightPadStr
- rslt
- setDW
- setDoOutput
- sPM
- spMaker
- trIter
- transFactory
- uniMap
- xRefFormats
HTH
J.Pietschmann
of Jakarta commons
Unicode file component, but the guys there weren't all that
enthusiastic about this, and I've not enough time to get
the ball rolling all of my own.
J.Pietschmann
Manuel Mall wrote:
What we also need for proper script support is a mapping from Unicode
code point to script.
On a second thought: isn't this what Class Character.UnicodeBlock
does?
J.Pietschmann
easily
understandable from the spec or the errata, IIRC Peter made
an inquiry on a w3c list and got a clarification.
J.Pietschmann
: creating no line breaks at all should be
significantly easier than creating breaks...
J.Pietschmann
be an OutputStream, so this is not character compatible
but byte only compatible, it seems unicode cannot be processed correctly ?
PDF isn't text, it is a binary format. For details, check the PDF spec.
J.Pietschmann
) in a single pass is
unwieldy if BreakIterator is used, that's why I tried to implement it
differently some time ago
http://people.apache.org/~pietsch/linebreak.tar.gz
J.Pietschmann
that the hyphenation code collects words across LM
boundaries.
As it should. Word boundaries and FO boundaries are different things:
blockA wwrapper text-decoration=underlineo/wrapperrd/block
J.Pietschmann
, or looking up the line break Unicode
properties and looking up whether a break may occur in the
line-break matrix. Hyphenation points are generated elsewhere and
remain unaffected.
J.Pietschmann
- bidi control characters 200E-200F, 202A-202E
- deprecated controls 206A-206F
J.Pietschmann
the string including the trailing spaces will overflow the line area.
The trailing whitespace may also influence text justification.
J.Pietschmann
opportunities and handling white
space are different things, and can be handled nearly independently.
Note that white space removal around line breaks happend after a break
opportunity has been actually promoted to a real line break.
J.Pietschmann
Hyphen (its either
suppressed or replaced by the proper hyphen), zero-width joiners, ...
In case of the hypothetical HTML renderer, you *want* to pass all these
characters to the renderer.
Is that a sensible grouping?
Dunno.
What about character composition/decomposition?
J.Pietschmann
normalization.
J.Pietschmann
,
putting the precomposed character U+00E4 into the output is
a smart move. Where should this transformation occur: output
generation, renderer, layout stage? A slight problem is that
the width of U+00E4 may be different from U+0061.
J.Pietschmann
).
J.Pietschmann
Manuel Mall wrote:
Ooops, that wasn't very efficient as I did more or less the same thing.
Oops, sorry. After several weeks of inactivity I thought
I could polish up the old sketch and commit. There's still
enough work to do though, see the separate post.
J.Pietschmann
correct them?
J.Pietschmann
Suggestions? Should we just remove it?
I've disabled it. People without restrictions could reenable the
testcase for themselves. Alternatively, we could add FOP extensions
allowing for proxy authentification.
J.Pietschmann
is
to create another category of tests, tests unsafe for people without
internet connection or so.
J.Pietschmann
authorization and session problems.
J.Pietschmann
Parker, Les wrote:
I am looking for a java class to web-enable PDF files.
Does anyone know of such an animal that is Open Source?
Check SourceForge. IIRC iText and PDFBox both can be configured
to generate linearized PDF.
J.Pietschmann
values to the
renderer.
BTW: encryption options like noprint should as well be configurable,
and there are arguments that even the user password for encryption
could benefit from being read from the XML configuration data.
J.Pietschmann
renderer
options Map this is possible.
No problem. I just had a vague memory that properties can automatically
convert strings into boolean values.
J.Pietschmann
the FO tree including metadata and embedded foreign
data?
J.Pietschmann
Jeremias Maerki wrote:
I'm considering removing the character area tree object and instead
map an fo:character to a normal text area with one word child.
Looks ok: +1
J.Pietschmann
Jeremias Maerki wrote:
Yep, that's exactly what I need. But hey, adding a 3MB library just for
this method, that is a little much.
If all else fails, do the same as for the line breaking properties.
J.Pietschmann
for various purposes. Algorithms based on ICU presence
could be preferred, while falling back to a more crude implementation
if ICU is not presend.
BTW ICU has lots of other interesting features relevant for I18N,
look for example at the calender section or the number formatting.
J.Pietschmann
Jeremias Maerki wrote:
On 28.02.2006 21:48:27 J.Pietschmann wrote:
If all else fails, do the same as for the line breaking properties.
Sorry, but I don't understand what you mean.
Generate the necessary data tables directly from the Unicode
source, automatically or manually. Yes, NIH
using the Java
BreakIterator (other than the latter not being available in Java 1.3).
I'd prefer to have a more pull style interface to the line break
finder though.
J.Pietschmann
Jeremias Maerki wrote:
1. I'd like to propose merging back the Temp_API_Finalization branch
back into Trunk.
+1
2. ...
+1 from me for deprecating all Fop constructors,
+1
J.Pietschmann
Jeremias Maerki wrote:
[snip]
+1 to a new beta release, even if the whitespace still isn't
resolved completely.
J.Pietschmann
or in a fo:declarations (extension element). PIs are
also an option, they may enhance portability (ignored by other
software than the target processor) but may confuse users about
the scope where they apply and may provide surprises if read
too late in a streaming processing mode.
J.Pietschmann
[EMAIL PROTECTED] wrote:
Added: .../fop/render/afp/exceptions/NestedRuntimeException.java
^^
Ow. Don't we have that already somewhere else in the code?
J.Pietschmann
be
done on the page master level. I'm still somewhat uneasy with
the chain of indirections/mappings necessary, these things tend
to break unexpectedly. But I don't have a better solution either.
J.Pietschmann
tag can
be dropped from the release number even for a pre 1.0 release.
Should we hold a formal vote on the API style issue? Either way, I'd
even volunteer to do the changes (it's easy enough :-).
J.Pietschmann
this
topic up only because this seems to be the very last chance for
changes. If everybody is ok with as is, then just go forward.
J.Pietschmann
Jeremias Maerki wrote:
Anyone else?
No way. Sorry, family and the day job take all the time.
J.Pietschmann
that the weak reference is on the key, not
the value.
Oops, my fault.
J.Pietschmann
tool) is better.
J.Pietschmann
Vincent Hennebert wrote:
A line-area is a block-area
I doubt this. Last time I read the spec, I got the impression
that lines are not explicit block areas.
J.Pietschmann
.
J.Pietschmann
rule base approaches
This concerns probably mainly the baseStuff* settings
- Provide a GUI application for changing commonly changed settings
- Get commonly changed settings from a file with an easier format,
like Java properties
Did I get the problem right?
J.Pietschmann
Simon Pepping wrote:
No UML diagrams for FOP available. Would be nice though.
As soon as I get some spare time, I'll try
http://sourceforge.net/projects/umldot
I suspect the diagrams to be somewhat unwieldy.
J.Pietschmann
.
J.Pietschmann
the FO processor implementation. :-P
J.Pietschmann
the renderer
has to undo some of the mirroring done while constructing the FO tree.
J.Pietschmann
Vincent Hennebert wrote:
Comments are welcome, of course.
I'm quite impressed. The layout improvements are very exciting.
J.Pietschmann
Jeremias Maerki wrote:
Just be prepared that they may wrinkle their noses.
I'd expect them to do exactly this. How should tabs mix with, say,
centered text, or BIDI stuff? I'm not convinced it's worth the
additional complexity of the spec.
J.Pietschmann
Jeremias Maerki wrote:
If nobody objects I'm going to remove the deprecated elements in the
apps package later this week.
Umm, couldn't this wait until after the 0.93 release? Well, that's
a question, not a veto. If you think it's a good idea, go ahead.
J.Pietschmann
the line-height or font-size to 0. (if you put
text in such lines, they will look glued together)
J.Pietschmann
.
J.Pietschmann
variants (normal, bold, italic), the normal
variant in 4 sizes, for a total of 7 different font property
bundles). BorderAndPadding might be another case, for example by
using a static immutable instance for the empty case.
J.Pietschmann
).
Also, 0.20.5 is no longer maintained. Please try a more recent
release.
J.Pietschmann
then to prepare metrics file for this font as well
in the same way as for let say Arial?
You can try to use the -enc ansi switch and see if it helps.
J.Pietschmann
://www.unicode.org/Public/UNIDATA/LineBreak.txt
J.Pietschmann
1 - 100 of 157 matches
Mail list logo