Commit 9760973
David C. Lonie
Fix conic point identification in the path renderer.
The numeric value of FT_CURVE_TAG_CONIC is 0, so the translation
to local ControlType failed when testing
if (fttag & FT_CURVE_TAG_CONIC) { ... }
Replaced the translation with a more robust approach.
This wasn't readily apparent using the fonts embedded in VTK, as those
fonts consist entirely of linear and cubic curves.
Also fixed this functiont to use the pen_[xy] variables, which account
for kerning.
Change-Id: Ibcd7d28365ecad22d62073dc8bbf89405478f7911 parent 2c7d13c commit 9760973
1 file changed
+21
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1964 | 1964 | | |
1965 | 1965 | | |
1966 | 1966 | | |
1967 | | - | |
1968 | | - | |
1969 | | - | |
1970 | | - | |
1971 | | - | |
1972 | | - | |
1973 | | - | |
1974 | | - | |
1975 | | - | |
| 1967 | + | |
| 1968 | + | |
| 1969 | + | |
| 1970 | + | |
| 1971 | + | |
1976 | 1972 | | |
1977 | | - | |
| 1973 | + | |
| 1974 | + | |
| 1975 | + | |
| 1976 | + | |
| 1977 | + | |
| 1978 | + | |
| 1979 | + | |
| 1980 | + | |
| 1981 | + | |
| 1982 | + | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
1978 | 1987 | | |
1979 | 1988 | | |
1980 | 1989 | | |
1981 | | - | |
1982 | | - | |
| 1990 | + | |
| 1991 | + | |
1983 | 1992 | | |
1984 | 1993 | | |
1985 | 1994 | | |
| |||
0 commit comments