[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] classpath ChangeLog gnu/java/awt/font/FontDeleg...
From: |
Roman Kennke |
Subject: |
[commit-cp] classpath ChangeLog gnu/java/awt/font/FontDeleg... |
Date: |
Fri, 15 Dec 2006 21:43:49 +0000 |
CVSROOT: /cvsroot/classpath
Module name: classpath
Changes by: Roman Kennke <rabbit78> 06/12/15 21:43:49
Modified files:
. : ChangeLog
gnu/java/awt/font: FontDelegate.java GNUGlyphVector.java
gnu/java/awt/font/autofit: AxisHints.java Edge.java
GlyphHints.java Latin.java Width.java
gnu/java/awt/font/opentype: OpenTypeFont.java Scaler.java
gnu/java/awt/font/opentype/truetype: Point.java
TrueTypeScaler.java
Zone.java
ZonePathIterator.java
Log message:
2006-12-15 Roman Kennke <address@hidden>
* gnu/java/awt/font/FontDelegate.java
(TYPE_FITTED): New constant.
(TYPE_ORIGINAL): New constant.
(TYPE_SCALED): New constant.
(getGlyphOutline): Allow the kind of outline be specified as one
of the constants above.
* gnu/java/awt/font/GNUGlyphVector.java
(getGlyphOutline(int,int)): Add type parameter for fetching
the intermediate outlines for debugging.
(getGlyphOutline(int)): Fetch TYPE_FITTED outline from font
delegate.
(getOutline(float,float,int)): Added for debugging purpose.
(performDefaultLayout): Round the advance here for better
hinting.
This is only a workaround for not hinting the metrics right now.
* gnu/java/awt/font/autofit/AxisHints.java
(getEdgeIndex): New helper method. Fetches the index of
a given edge in the array.
(newEdge): Fixed sorting.
* gnu/java/awt/font/autofit/Edge.java
(pos): New field. Stores the fitted position.
(scale): New field.
(toString): More debug output.
* gnu/java/awt/font/autofit/GlyphHints.java
(alignEdgePoints): New method. Aligns the points of an outline
to their edges hinted positions.
(alignStrongPoints): New method. Aligns strong points.
(alignWeakPoints): New method. Aligns weak points.
(getPointIndex): New helper method.
(iupInterp): New helper method. Interpolates points.
(iupShift): New helper method. Shifts a complete contour.
(storePoint): New helper method.
* gnu/java/awt/font/autofit/Latin.java
(alignEdgePoints): Moved to GlyphHints.
(alignLinkedEdge): New helper method.
(alignSerifEdge): New helper method.
(alignStrongPoints): Moved to GlyphHints.
(alignWeakPoints): Moved to GlyphHints.
(applyHints): Call moved methods on GlyphHints.
(computeStemWidth): New helper method.
(doHorzSnap): New helper method.
(doVertSnap): New helper method.
(doMono): New helper method.
(doneWidth): New helper method.
(doStemAdjust): New helper method.
(hintEdges): Implemented.
(initWidths): Removed old comment.
(snapWidth): New helper method.
* gnu/java/awt/font/autofit/Width.java
(toString): More debug output.
* gnu/java/awt/font/opentype/OpenTypeFont.java
(getGlyphOutline): Add type parameter for debugging.
* gnu/java/awt/font/opentype/Scaler.java
(getOutline): Add type parameter for debugging.
* gnu/java/awt/font/opentype/truetype/Point.java
Make all flags of short type. Add new accessor methods for
coordinates that can return scaled and original shapes too.
* gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
(getOutline): Add type parameter for debugging.
* gnu/java/awt/font/opentype/truetype/Zone.java
Add type parameter to X and Y accessors.
(getPath): Add type parameter.
(getPathIterator): Likewise.
(transform): Do store transformed value in the x and y fields
too.
* gnu/java/awt/font/opentype/truetype/ZonePathIterator.java
(type): New field.
(ZonePathIterator): Add type parameter.
(getSegment): Fetch coordinates with type.
(getStartSegment): Likewise.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8989&r2=1.8990
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/font/FontDelegate.java?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/font/GNUGlyphVector.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/font/autofit/AxisHints.java?cvsroot=classpath&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/font/autofit/Edge.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/font/autofit/GlyphHints.java?cvsroot=classpath&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/font/autofit/Latin.java?cvsroot=classpath&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/font/autofit/Width.java?cvsroot=classpath&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/font/opentype/OpenTypeFont.java?cvsroot=classpath&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/font/opentype/Scaler.java?cvsroot=classpath&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/font/opentype/truetype/Point.java?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java?cvsroot=classpath&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/font/opentype/truetype/Zone.java?cvsroot=classpath&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/font/opentype/truetype/ZonePathIterator.java?cvsroot=classpath&r1=1.1&r2=1.2
- [commit-cp] classpath ChangeLog gnu/java/awt/font/FontDeleg...,
Roman Kennke <=