lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Margin kerning


From: Ludovic Courtès
Subject: Re: Margin kerning
Date: Wed, 29 Jun 2005 11:29:46 +0200
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

address@hidden (Jeff Kingston) writes:

> These are just placeholder words that represent lines.  If you
> look about 10 lines higher you can see a spot where I have
> laboriously assigned a lot of style information, including
> a font, to a similar word; but the trouble is there does
> not seem to be any convenient font to assign to "w".

Ok.

The other change you proposed is fine, too.  Explicitly checking whether
`word_font ()' returns a valid font number on the user-side seems like a
good thing anyway.  Maybe it should be mentioned in the code that
`FillObject ()' might go over "fake" word objects that don't have a
valid font, etc.?

Thanks,
Ludovic.


--- orig/z46.c
+++ mod/z46.c
@@ -180,7 +180,10 @@
   New(opt_constraints(hd), ACAT);
   StyleCopy(save_style(opt_components(hd)), *style);
   if( gall_dir(hd) == ROWM )
+  {
     hyph_style(save_style(opt_components(hd))) = HYPH_OFF;
+    marginkerning(save_style(opt_components(hd))) = 0;
+  }
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]