|
From: | Andrej Lojdl |
Subject: | Re: Google Summer of Code - LaTeX processing |
Date: | Wed, 19 Jun 2013 16:40:01 +0200 |
Please, try to produce proper patches using "hg diff". In the above code, I don't see anything that will pass the line_height value down to text engine. By comparison, you should follow how it's done for the fontsize:1) extend ft_render::set_font() method with a "lineheight" argument2) populate that new argument in opengl_renderer::set_font() methodAlso, don't use "line_height", but "lineheight" for the property name, to be consistent with the rest of the property names. And I think it's better to make lineheight a scaling factor rather than an absolute offset. In the latter case, it would then be more appropriate to make lineheight sensitive to the "units" property, but I don't want to go down that road.
[Prev in Thread] | Current Thread | [Next in Thread] |