DO NOT REPLY [Bug 50483] New: [PATCH] Full font embedding and Subset embedding in Post Script

2010-12-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50483

   Summary: [PATCH] Full font embedding and Subset embedding in
Post Script
   Product: Fop
   Version: all
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: fonts
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: med1...@gmail.com


Created an attachment (id=26414)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=26414)
Full and Subset embedding patch

This patch is for the Temp_TrueTypeInPostScript branch and contains the
following:
* support for full font embedding using /sfnts
* support for subset font embedding using /sfnts
* bugfixes to the o.a.f.fonts.truetype package
* JUnit tests for all classes created
* JUnit tests for some of o.a.f.fonts.truetype classes
* added Mockito test for state and behavioural class testing with JUnit

The Mockito jar can be found at:
http://mockito.org/

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


DO NOT REPLY [Bug 50483] [PATCH] Full font embedding and Subset embedding in Post Script

2010-12-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50483

--- Comment #1 from Mehdi Houshmand med1...@gmail.com 2010-12-16 08:50:59 EST 
---
If this patch is applied I'll amend the wiki, but in order to invoke full-font
embedding you need to add the embedding-mode attribute to the fop.xconf as
follows for DejaVuSans:

font embed-url=truetype/ttf-dejavu/DejaVuSans.ttf embedding-mode=full
font-triplet name=DejaVu Sans style=normal weight=normal/
/font

for Subsetting you can either do as before:


font embed-url=truetype/ttf-dejavu/DejaVuSans.ttf
font-triplet name=DejaVu Sans style=normal weight=normal/
/font

or you can specify:

font embed-url=truetype/ttf-dejavu/DejaVuSans.ttf embedding-mode=subset
font-triplet name=DejaVu Sans style=normal weight=normal/
/font

There is also embedding-mode=auto which defaults to subsetting a font. Also,
for anyone interested, the reason /sfnts wasn't previously working was because
there were several bugs with the previous implementation (this patch fixes
them). The /sfnts process is perfectly valid and has worked with all the fonts
I have tested which include ASCII, CJK and Thai glyphs.

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


DO NOT REPLY [Bug 49060] [PATCH] File Descriptor leak in AFP renderer

2010-12-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49060

Vincent Hennebert vhenneb...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #3 from Vincent Hennebert vhenneb...@gmail.com 2010-12-16 
14:18:44 EST ---
Applied in rev. 1050104:
http://svn.apache.org/viewvc?rev=1050104view=rev

Thanks!
Vincent

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