|
PDF: Add text support with a font framework (font embedding to come).
Supports fakeBold, underline, strikethrough, mode (fill, stroke, both), size, skew, alignment (left, center, right).
Missing is drawFontOnPath and font lookup and embedding.
Changed SkPDFString to support how it is used from drawText methods.
Moved compile assert into SkTypes.
Moved constants and utility function used to support fakeBold, underline, and strikethrough into higher level locations.
Committed: http://code.google.com/p/skia/source/detail?r=624
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+718 lines, -124 lines) |
Patch |
|
M |
include/core/SkPaint.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
include/core/SkScalar.h
|
View
|
1
2
3
4
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/core/SkTypes.h
|
View
|
1
2
3
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/pdf/SkPDFDevice.h
|
View
|
|
5 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
|
A |
include/pdf/SkPDFFont.h
|
View
|
|
1 chunk |
+92 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/pdf/SkPDFTypes.h
|
View
|
|
3 chunks |
+14 lines, -1 line |
0 comments
|
Download
|
|
A |
include/utils/SkTextFormatParams.h
|
View
|
1
2
3
4
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/Makefile.am
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkDraw.cpp
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
src/core/SkPaint.cpp
|
View
|
1
2
|
3 chunks |
+6 lines, -44 lines |
0 comments
|
Download
|
|
|
src/core/SkScalar.cpp
|
View
|
1
2
3
4
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
|
|
src/core/core_files.mk
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/pdf/SkPDFDevice.cpp
|
View
|
1
2
3
4
|
16 chunks |
+230 lines, -24 lines |
0 comments
|
Download
|
|
A |
src/pdf/SkPDFFont.cpp
|
View
|
|
1 chunk |
+199 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/pdf/SkPDFGraphicState.cpp
|
View
|
|
3 chunks |
+1 line, -25 lines |
0 comments
|
Download
|
|
M |
src/pdf/SkPDFTypes.cpp
|
View
|
|
3 chunks |
+46 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/pdf/pdf_files.mk
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/ports/SkThread_win.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -13 lines |
0 comments
|
Download
|
Total messages: 4
|