Clone in a terminal:
Commit f4f23c5
Johan Mattsson - 2013-06-25T18:33:38+00:00
f4f23c5b2cdb5816f31d6be29f0fbfe303bb853djohan.mattsson.m@gmail.com

insert cubic points on cubic paths

Changed files (2)

Diff

diff --git a/libbirdfont/OpenFontFormat/NameTable.vala b/libbirdfont/OpenFontFormat/NameTable.valaindex f152e5d..0d29060 100644--- a/libbirdfont/OpenFontFormat/NameTable.vala+++ b/libbirdfont/OpenFontFormat/NameTable.vala@@ -148,7 +148,7 @@ class NameTable : Table { 		List<uint16> type = new List<uint16> (); 		List<string> text = new List<string> (); 		-		text.append ("Copyright");+		text.append (""); 		type.append (COPYRIGHT_NOTICE); 		 		text.append (font.name);diff --git a/libbirdfont/Path.vala b/libbirdfont/Path.valaindex be77712..eed98d4 100644--- a/libbirdfont/Path.vala+++ b/libbirdfont/Path.vala@@ -1185,6 +1185,7 @@ public class Path { 		} else if (right == PointType.LINE_CUBIC && left == PointType.LINE_CUBIC) { 			ep.get_right_handle ().set_point_type (PointType.LINE_CUBIC); 			ep.get_left_handle ().set_point_type (PointType.LINE_CUBIC);+			ep.type = PointType.LINE_CUBIC; 			ep.recalculate_linear_handles (); 		} else if (right == PointType.LINE_DOUBLE_CURVE && left == PointType.LINE_DOUBLE_CURVE) { 			ep.get_right_handle ().set_point_type (PointType.LINE_DOUBLE_CURVE);@@ -1215,6 +1216,8 @@ public class Path { 			 			ep.get_right_handle ().set_point_type (PointType.CUBIC); 			ep.get_right_handle ().move_to_coordinate (x1, y1);+			+			ep.type = PointType.LINE_CUBIC; 		}  		ep.get_left_handle ().parent = ep;

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112