History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: FVG-296
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Mark Donszelmann
Reporter: Steffen Greiffenberg
Votes: 0
Watchers: 0
Operations

Clone this issue
Create sub-task
If you were logged in you would be able to see more operations.
FreeHEP Vector Graphics

Added RenderingHints, AttributedCharacterIterator

Created: 12/Jan/07 02:22 AM   Updated: 12/Jan/07 04:45 PM
Component/s: JAVA, Tests
Affects Version/s: 2.3, 2.1
Fix Version/s: 2.1

File Attachments: 1. Text File diffs-2007-01-12.txt (45 kb)

Issue Links:
See also
 


 Description  « Hide
1. Java driver could now handle the following RenderingHints:

KEY_ANTIALIASING
        KEY_RENDERING
        KEY_DITHERING
        KEY_TEXT_ANTIALIASING
        KEY_FRACTIONALMETRICS
        KEY_INTERPOLATION
        KEY_ALPHA_INTERPOLATION
        KEY_COLOR_RENDERING
        KEY_STROKE_CONTROL

2. Added a String output in "TestAll" which uses:

public void drawString(AttributedCharacterIterator, float, float)

BTW: No driver failes that test (Latex and CGM not tested). The method was tested indirectly for most drivers in the past.

3. Added a test case for RenderingHints. vector graphic formats ignore the hints completely till now., don't know if they should handle them at all. Bitmap formats work as expected.


The "diffs-2007-01-12.txt" contain the fixes for FVG-26 too, in which mainly images handling is fixed.

@Mark: will you apply the fixes?


Regards
Steffen

 All   Comments   Change History      Sort Order:
Mark Donszelmann - 12/Jan/07 07:07 AM
Great, and thanks.

Yes, will apply them sometime today.

Are ALL of FVG-26 included in this patch?

Regards
Mark

Steffen Greiffenberg - 12/Jan/07 07:22 AM
Yes.

Mark Donszelmann - 12/Jan/07 04:45 PM
Applied with minor mods:

- TestRenderingHints in alphabetical place
- Added reference png
- Fixed refererence png of TestAll
- protected drawString(AtributedCharacterIterator... in AbstractVectorGraphicsIO around line 640
  for empty stringbuffer. (showed in EMF which does not use TEXT_AS_SHAPES)

Mark