bugzilla | 2 Apr 03:24 2008
Picon

DO NOT REPLY [Bug 44737] New: PATCH - autodetection of TTC fonts, and placement in cache

https://issues.apache.org/bugzilla/show_bug.cgi?id=44737

           Summary: PATCH - autodetection of TTC fonts, and placement in
                    cache
           Product: Fop
           Version: 1.0dev
          Platform: PC
               URL: http://dev.plutext.org/trac/docx4j/browser/trunk/docx4j/
                    src/main/resources/fop-fonts.patch
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: fonts
        AssignedTo: fop-dev <at> xmlgraphics.apache.org
        ReportedBy: jason <at> plutext.org

The attached patch adds support for *.ttc to the auto-detection mechanism. 
This is my original work, and I'm submitting it for inclusion in FOP under
ALv2.0.

Demand for this capability may increase as usage of Microsoft's
proprietary ClearType Collection fonts increases, since Cambria is the
default font for Word 2007 headings, and its delivered in a .ttc

The attachment is an update of the patch I posted to fop-dev on 21 March.

This updated patch compiles on Java 1.4, and no longer includes the FOray
Panose stuff.

(Continue reading)

bugzilla | 2 Apr 03:24 2008
Picon

DO NOT REPLY [Bug 44737] PATCH - autodetection of TTC fonts, and placement in cache

https://issues.apache.org/bugzilla/show_bug.cgi?id=44737

--- Comment #1 from Jason Harrop <jason <at> plutext.org>  2008-04-01 18:24:46 PST ---
Created an attachment (id=21759)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21759)
the patch

--

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

Jason Harrop | 2 Apr 03:32 2008
Picon

Re: PATCH - autodetection of TTC fonts, and placement in cache

Hi Jeremias

Thanks for considering my patch, and sorry for the delay in responding.

On Thu, Mar 27, 2008 at 7:25 PM, Jeremias Maerki <dev <at> jeremias-maerki.ch> wrote:
> Jason, would you mind attaching your patch to a new Bugzilla issue [1]?

Done - https://issues.apache.org/bugzilla/show_bug.cgi?id=44737

>  This is to establish that you agree to republish your changes under the
>  ALv2.0, especially since the location of the current patch generally
>  contains code published under the GPL. Explicitely stating this in the
>  Bugzilla issue would be a nice bonus.

Done

>
>  I will then take a closer look at your patch. However, I'd prefer not to
>  add the Panose class taken from FOray unless Victor explicitely donates
>  it to the FOP project like he did for other code on prior occasions. I
>  don't like to mix external source classes with our own if it can be
>  avoided. Without integrating the Panose functionality with our font
>  substitution code, it has little use for us anyway.

Understood.  I have been working a little with Victor on FOray's
Panose class, but for now, rather than ask him to consider explicitly
donating it, I have removed it from the patch (given, as you note,
that it is of little use to FOP by itself).

>  Furthermore, would you please:
(Continue reading)

Jeremias Maerki | 2 Apr 14:37 2008
Picon

Last call: Feedback on processing feedback mechanism (events)

I'm happy now with the processing feedback branch. The goals noted on 
http://wiki.apache.org/xmlgraphics-fop/ProcessingFeedback
are met IMO and most event are identified and broadcast through the
new event subsystem. Of course, the coverage is not 100%, yet. I'm sure
there are 1 or 2 places that could be improved. But I feel that it's
time now to think about merging the branch with the trunk. We have to
make experiences with the new subsystem and I'm sure there will be some
adjustments.

So if anyone has anything that's not satisfying, yet, please let me know.
Otherwise, I'll call for a vote to merge the
https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ProcessingFeedback
branch in 2 or 3 days from now.

There's some (probably imperfect) documentation now (in XML-Format in
the branch) in additional to what's already on the Wiki.

There are some open issues recorded on
http://wiki.apache.org/xmlgraphics-fop/ProcessingFeedback/Status
which I don't consider critical right now. Based on end-user feedback we
can improve the whole thing later as necessary. At any rate, there's
already more than the absolutely minimum necessary available.

When the branch is integrated with trunk, I plan to call out to the user
community to test the new feature.

Thanks for all your feedback on this issue (past and future)!

Jeremias Maerki

(Continue reading)

bugzilla | 3 Apr 10:07 2008
Picon

DO NOT REPLY [Bug 44737] PATCH - autodetection of TTC fonts, and placement in cache

https://issues.apache.org/bugzilla/show_bug.cgi?id=44737

Jeremias Maerki <jeremias <at> apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Jeremias Maerki <jeremias <at> apache.org>  2008-04-03 01:07:50 PST ---
Thanks a lot for your patch, Jason! I've applied it with
modifications/additions. I hope you agree with them.

http://svn.apache.org/viewvc?rev=644208&view=rev

--

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

bugzilla | 3 Apr 10:09 2008
Picon

DO NOT REPLY [Bug 33383] NPE while loading GIF image

https://issues.apache.org/bugzilla/show_bug.cgi?id=33383

Jeremias Maerki <jeremias <at> apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Jeremias Maerki <jeremias <at> apache.org>  2008-04-03 01:09:12 PST ---
GIF loading is now done through ImageIO. This bug is obsolete.

--

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

bugzilla | 3 Apr 10:54 2008
Picon

DO NOT REPLY [Bug 44743] New: Add get accessor for PDFGraphics2D.pageRef

https://issues.apache.org/bugzilla/show_bug.cgi?id=44743

           Summary: Add get accessor for PDFGraphics2D.pageRef
           Product: Fop
           Version: all
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: pdf
        AssignedTo: fop-dev <at> xmlgraphics.apache.org
        ReportedBy: yegor <at> dinom.ru

Please add get accessor for PDFGraphics2D.pageRef. The patch is attached.

In order to make page outlines I need to pass  pageRef to
PDFFactory.makeOutline. There is no way access this variable other then
creating a subclass of PDFGraphics2D.

Regards,
Yegor Kozlov

--

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

bugzilla | 3 Apr 10:55 2008
Picon

DO NOT REPLY [Bug 44743] Add get accessor for PDFGraphics2D.pageRef

https://issues.apache.org/bugzilla/show_bug.cgi?id=44743

--- Comment #1 from Yegor Kozlov <yegor <at> dinom.ru>  2008-04-03 01:55:22 PST ---
Created an attachment (id=21774)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21774)
diff against trunk

--

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

bugzilla | 3 Apr 11:03 2008
Picon

DO NOT REPLY [Bug 44743] Add get accessor for PDFGraphics2D.pageRef

https://issues.apache.org/bugzilla/show_bug.cgi?id=44743

Yegor Kozlov <yegor <at> dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yegor <at> dinom.ru

--

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

bugzilla | 3 Apr 11:18 2008
Picon

DO NOT REPLY [Bug 44744] New: PDFGraphics2D.drawString( AttributedCharacterIterator it, float x, float y) throws NullPointerException

https://issues.apache.org/bugzilla/show_bug.cgi?id=44744

           Summary: PDFGraphics2D.drawString(AttributedCharacterIterator it,
                    float x, float y) throws NullPointerException
           Product: Fop
           Version: all
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: pdf
        AssignedTo: fop-dev <at> xmlgraphics.apache.org
        ReportedBy: yegor <at> dinom.ru

PDFGraphics2D.drawString(AttributedCharacterIterator it, float x, float y)
throws NullPointerException:

Exception in thread "main" java.lang.NullPointerException
        at org.apache.fop.svg.PDFGraphics2D.drawString(PDFGraphics2D.java:1559)
        at
org.apache.xmlgraphics.java2d.AbstractGraphics2D.drawString(AbstractGraphics2D.java:652)
        at com.yegor.fop.TestPDFGraphics.main(TestPDFGraphics.java:35)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)

(Continue reading)


Gmane