Skip to content

nls: add Arabic hamza compositions

Mohamed Akram requested to merge mohd-akram/libx11:dead-hamza-compose into master

These compositions are intended for use in the ara(mac-phonetic) and my(phonetic) layouts. They are based on the following layouts listed in the CLDR:

The compositions are listed in the <transforms> section, and are reproduced below:

<transforms type="simple">
	<transform from="ء\u{64E}" to="آ"/> <!--  ءَ → آ -->
	<transform from="ء\u{650}" to="إ"/> <!--  ءِ → إ -->
	<transform from="ء " to="ء"/>
	<transform from="ء\u{A0}" to="ء"/>
	<transform from="ء!" to="إ"/>
	<transform from="ء١" to="إ"/>
	<transform from="ءا" to="أ"/>
	<transform from="ءس" to="ئ"/>
	<transform from="ءو" to="ؤ"/>
	<transform from="ءي" to="ئ"/>
	<transform from="ءى" to="ئ"/>
</transforms>

We limit ourselves to the compositions that strictly combine a character and a hamza, and generate that character with a hamza on it, following the behavior in compositions of other dead keys. Additional compositions, potentially for other layouts as well, could be added later on as necessary.

Depends on xorg/proto/xorgproto!78 (merged)

Edited by Mohamed Akram

Merge request reports