You should have received a copy of the GNU Lesser General Public
License along with the m17n library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
02111-1307, USA. */
/***en
static MSymbol M_glyph_string;
/* Special scripts */
-static MSymbol Minherited, Mcommon;
+static MSymbol Mcommon;
/* Special categories */
static MSymbol McatCc, McatCf;
}
*from_idx = *to_idx = 0;
+ *to_x = x;
while (g->type != GLYPH_ANCHOR)
{
if (g->pos >= from && g->pos < to)
int from_idx, to_idx;
int to_x;
+ if (from == to)
+ return;
if (control->orientation_reversed)
x -= gstring->indent + gstring_width (gstring, from, to, NULL, NULL);
else
memset (&scratch_gstring, 0, sizeof (scratch_gstring));
MLIST_INIT1 (&scratch_gstring, glyphs, 3);
- Minherited = msymbol ("inherited");
Mcommon = msymbol ("common");
McatCc = msymbol ("Cc");
}
if (overall_logical_return)
{
- overall_ink_return->x = 0;
+ overall_logical_return->x = 0;
overall_logical_return->width = width;
overall_logical_return->height
= y + gstring->descent - overall_logical_return->y;
}
if (overall_line_return)
{
- overall_ink_return->x = lbearing;
+ overall_line_return->x = lbearing;
overall_line_return->width = MAX (width, rbearing - lbearing);
overall_line_return->height
= y + gstring->line_descent - overall_line_return->y;