User Tools

Site Tools


doc:en:inkspapeadvanced

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:en:inkspapeadvanced [2011/09/17 12:59]
rosmord [Ligature zones gravity]
doc:en:inkspapeadvanced [2016/10/12 14:14] (current)
Line 19: Line 19:
 ===== Ligature zones gravity ===== ===== Ligature zones gravity =====
  
-The ligatured group will go somewhere in the ligature zone. But where exactly ? It can stand in the middle of the area, or stick to one of its sides. In fact, the behaviour of the layout algorithm is not always the same. In {{http://​jsesh.qenherkhopeshef.org/​files_jsesh/​images/​w_and_t.png}},​ the "w" tends to fit on the bottom left of the rectangular area. In {{http://​jsesh.qenherkhopeshef.org/​files_jsesh/​images/​Hm_kA.png}},​ the U36 sign is more or less centered, both horizontally and vertically. JSesh allows signs authors to design the behaviour of "​ligature zones",​ in the following way. Remember the label of the previous paragraph? You can set it to+The ligatured group will go somewhere in the ligature zone. But where exactly ? It can stand in the middle of the area, or stick to one of its sides. In fact, the behaviour of the layout algorithm is not always the same. In {{http://​jsesh.qenherkhopeshef.org/​files_jsesh/​images/​w_and_t.png}},​ the "t" tends to fit on the bottom left of the rectangular area. In {{http://​jsesh.qenherkhopeshef.org/​files_jsesh/​images/​Hm_kA.png}},​ the U36 sign is more or less centered, both horizontally and vertically. JSesh allows signs authors to design the behaviour of "​ligature zones",​ in the following way. Remember the label of the previous paragraph? You can set it to
  
-gravity: gravity specifications. +  ​gravity: gravity specifications. 
-where gravity specifications can contain * s or e to ask the group to stick to the start side or to the end side of the zone (start and end are taken from M.-J. Nederhof'​s RES, and avoid the use of "​left"​ and "​right",​ which are not really usable for hieroglyphs!). If neither "​s"​ nor "​e"​ is specified, the group will be horizontally centered, like in . * t or b to ask the group to stick to the top or bottom of the zone. If neither "​t"​ nor "​b"​ is specified, the group will be vertically centered. + 
-In Figure ​“Zone Properties”,​ gravity:te means that the group which would be ligatured in zone1 (in front of the "​child"​ sign) would stick to the top of the red rectangle, and stay near the sign, for instance .+where gravity specifications can contain ​ 
 + 
 +  ​*"s" ​or "e" ​to ask the group to stick to the start side or to the end side of the zone((start and end are taken from M.-J. Nederhof'​s RES, and avoid the use of "​left"​ and "​right",​ which are not really usable for hieroglyphs!)). If neither "​s"​ nor "​e"​ is specified, the group will be horizontally centered. 
 +  ​"t" ​or "b" ​to ask the group to stick to the top or bottom of the zone. If neither "​t"​ nor "​b"​ is specified, the group will be vertically centered. 
 + 
 +“Zone Properties”, ​''​gravity:te'' ​means that the group which would be ligatured in zone1 (in front of the "​child"​ sign) would stick to the top of the red rectangle, and stay near the sign, for instance ​{{http://​jsesh.qenherkhopeshef.org/​files_jsesh/​images/​W_Xrd.png}}.
  
doc/en/inkspapeadvanced.1316257140.txt.gz · Last modified: 2016/10/12 14:14 (external edit)