-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathglyphs.mp
8644 lines (6911 loc) · 257 KB
/
glyphs.mp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
defchar(allah,-1,-1,6,-1);
%%backgroundimage:images/Allah.jpg,-82,-1107.77,1,0,0,1
%%beginparams
z1 = (369,47);
z2 = (707,87);
z3 = (713,0);
z4 = (358,-36);
%%beginpaths
fill
(7.52315,73.7687) .. tension 1.35801 and 1.03315 ..
(59.5235,198.174) .. tension 0.754307 and 15.828 ..
(241.062,298.466) .. tension 3.2704 and 1 ..
(243.962,338.135) .. tension 2.76141 and 3.2949 ..
{right}(268.706,394.307) .. tension 1.09193 and 1 ..
{down}(272.778,381.703) .. tension 1 and 1 ..
{down}(272.663,322.06) .. tension 1 and 1 ..
(277.931,169.847) .. tension 1.05355 and 0.898728 ..
{right}z1 .. tension 1 and 1 ..
(481.662,91.6281) .. tension 0.791136 and 4.63103 ..
{up}(535.843,163.591) .. tension 53.3336 and 2.00781 ..
{up}(497.653,412.117) .. tension 4.42879 and 15.5636 ..
{right}(523.158,475.239) .. tension 13.1757 and 1.20092 ..
(595.486,160.88) .. tension 1.10177 and 1.954 ..
{right}z2 .. tension 1 and 1.63689 ..
{up}(755.369,107.832) .. tension 9.93739 and 1 ..
(688.625,256.35) .. tension 1 and 1.74823 ..
{up}(646.413,423.922) .. tension 3.03099 and 4.58332 ..
{right}(669.569,499.166) .. tension 17.7758 and 0.776729 ..
(714.565,338.058) .. tension 0.77996 and 1.35679 ..
{down}(787.069,128.231) .. tension 1.03453 and 1.21732 ..
{left}z3 .. tension 1.36245 and 1.03881 ..
(580.35,69.5844) .. tension 0.75 and 17.1467 ..
{left}(547.924,125.427) .. tension 21.6119 and 1 ..
(525.139,70.4326) .. tension 1.17827 and 1 ..
{left}z4 .. tension 0.827491 and 1.09773 ..
(246.639,72.1504) .. tension 1 and 42.0321 ..
{left}(240.458,141.974) .. tension 20.7003 and 1.08662 ..
(155.783,64.863) .. tension 1.45947 and 0.75 ..
{left}(102.688,58.5777) .. tension 1 and 3.7172 ..
{up} cycle
;
fill
(60.1173,146.797) .. tension 17.9406 and 1.31292 ..
{dir 23.7032}(240.197,162.131) {dir 82.3168} .. tension 4.41177 and 6.94371 ..
{dir 92.2601}(241.494,240.558) {dir -166.055} .. tension 0.822452 and 4.52678 ..
{down} cycle
;
%%endpaths
enddefchar;
defchar(behmediyehfina,-1,1100,6,-1);
%%backgroundimage:images/behmediyehfina.jpg,-377.193,-1073.9,1,0,0,1
%%beginparams
z1 = (358,155);
z2 = (474,70);
z3 = (502,142);
z5 = (705,206);
z6 = (671,79);
%%beginverbatim
z4 = z5 + (0,lineheight);;
%%endverbatim
%%beginpaths
fill
(26,42) .. tension 0.96197 and 3.85272 ..
{right}(105.572,246.168) .. tension 1 and 1 ..
{down}(110.991,234.764) .. tension 14.0978 and 0.75 ..
{down}(62.6163,90.9197) .. tension 0.841317 and 1.17178 ..
{right}(264.932,-77.4366) .. tension 0.895529 and 15.9574 ..
{up}(622,60) .. tension 4.33999 and 1.01053 ..
{left}z2 .. tension 0.75 and 1.23646 ..
{up}z1 .. tension 1.10982 and 1 ..
(384.195,235.099) .. tension 1.12907 and 1.11556 ..
{right}(556.801,370.465) .. tension 1.08882 and 0.829391 ..
{right}z4 .. tension 0.990282 and 1 ..
(832.028,357.095) .. tension 0.867132 and 2.17307 ..
{right}(884.814,440.341) .. tension 1 and 1 ..
{down}(890.045,432.495) .. tension 1.77855 and 2.77834 ..
{down}(867.142,347.758) .. tension 4.24093 and 1.50218 ..
{right}(973.026,321.985) .. tension 1 and 1 ..
{up}(982.349,330.182) .. tension 1 and 2.51733 ..
{up}(966.917,418.355) .. tension 2.77331 and 5.11817 ..
{right}(992.959,493.908) .. tension 4.91455 and 1 ..
{down}(1015,372) .. tension 5.70435 and 1.08676 ..
{left}(960.528,241.733) .. tension 0.881136 and 1.02253 ..
{dir 126.599}(831.485,287.584) {dir -108.448} .. tension 1.91372 and 1 ..
(822.742,274.695) .. tension 1 and 1.09833 ..
{left}z5 .. tension 1.24883 and 1 ..
(603.36,243.932) .. tension 1 and 0.924321 ..
{left}(530.811,289.547) .. tension 1.47281 and 2.48175 ..
{down}(397.801,190.897) .. tension 1.35428 and 1.79751 ..
{right}z3 .. tension 1 and 2.9362 ..
{right}(605.161,146.703) .. tension 0.825468 and 1.26353 ..
{down}z6 .. tension 2.06095 and 0.970873 ..
{left}(243.127,-157.232) .. tension 0.907684 and 0.923566 ..
{up} cycle
;
%%endpaths
enddefchar;
defchar(lamalef.isol,-1,680,6,-1);
%%backgroundimage:images/lamalef.jpg,-25,-1160,1,0,0,1
%%beginparams
z1 = (501.494,87.1866);
z2 = (524.443,8.01897);
%%beginpaths
fill
(309.182,60.698) .. tension 13.9962 and 1 ..
(388.906,123.722) .. tension 0.944484 and 1.28255 ..
{up}(536.542,421.442) .. tension 3.32247 and 3.93128 ..
(524.248,752.342) .. tension 2.14805 and 1.62123 ..
{up}(498.609,805.312) .. tension 2.4907 and 10.4088 ..
{right}(542.093,888.707) .. tension 1 and 1 ..
(550.754,874.07) .. tension 1.28503 and 1 ..
(576.097,826.795) .. tension 1 and 7.14594 ..
{down}(605.469,782.313) .. tension 1.15166 and 4.52356 ..
(571.327,730.237) .. tension 16.7888 and 0.871723 ..
(559.83,356.129) .. tension 0.902425 and 1.46144 ..
(472.914,152.476) .. tension 0.93248 and 21.9394 ..
{down}(381.804,70.5419) .. tension 10.2926 and 23.1136 ..
z1 .. tension 22.2749 and 0.943095 ..
(255.796,462.167) .. tension 1 and 8.15346 ..
{left}(178.343,536.49) .. tension 1.82294 and 0.872677 ..
{left}(166.778,514.649) .. tension 1.35538 and 3.05861 ..
(50.9511,564.218) .. tension 3.15275 and 1 ..
{up}(24.4353,711.712) .. tension 1 and 1 ..
{right}(30.7608,722.526) .. tension 4.23328 and 0.830346 ..
(261.957,548.111) .. tension 0.970187 and 2.27258 ..
{down}(535.329,82.2092) .. tension 1 and 6.48608 ..
z2 .. tension 27.3804 and 21.246 ..
(252.182,-32.7113) .. tension 6.05504 and 9.72315 ..
(260.591,53.865) .. tension 5.93256 and 3.42702 ..
cycle
;
%%endpaths
%%beginbody
%charwd := xpart lrcorner currentpicture -x1 + rightbearing;
%currentpicture := currentpicture shifted (-x1,0);
glyphs[lamalef.isol].points[1] := z1;
glyphs[lamalef.isol].points[2] := z2;
enddefchar;
defchar(lambeh,-1,-1,6,-1);
%%backgroundimage:images/lambeh.jpg,-1930.52,-1062.46,1,0,0,1
%%beginparams
z1 = (392,106);
z2 = (383,22);
%%beginverbatim
%%endverbatim
%%beginpaths
fill
(248.271,156.613) .. tension 2.27944 and 1 ..
{right}z1 .. tension 1 and 1 ..
{up}(431.48,140.456) .. tension 1.91164 and 1 ..
(377.276,416.817) .. tension 1.60378 and 4.88301 ..
(315.313,729.762) .. tension 1 and 1 ..
{up}(292.48,800.456) .. tension 2.979 and 3.41913 ..
{right}(341.48,867.974) .. tension 1.67864 and 1 ..
(352.866,848.9) .. tension 0.962492 and 2.61092 ..
{down}(407.112,755.724) .. tension 1.16661 and 3.2402 ..
{down}(368.759,693.502) .. tension 4.05608 and 1.25437 ..
{down}(470.091,199.789) .. tension 1 and 1.20739 ..
{left}z2 .. tension 1 and 5.7357 ..
{left}(221.424,74.2986) .. tension 1.11091 and 1 ..
bldmv ( (194.638,58.3333), (-6,-1.2), (0,0) ) .. tension 1 and 1 ..
bldmv ( (122.924,18.7893), (-111.6,-38.4), (36.8055,2.77782) ) leftjoin
bldmv ( (127.258,99.7893), (-232.8,-63.6), (47.2222,2.77778) ) .. tension 1 and 1 ..
(193.045,129.66) .. tension 1 and 1.84186 ..
{right} cycle
;
%%endpaths
enddefchar;
beginchar(notdef,0,-1,-1,-1);
%%backgroundimage:images/nodef.png,-752.949,-1178.7,8,0,0,8
%%beginpaths
fill
(-42.2071,588.054) .. tension 1 and 1 ..
{right}(165.312,781.92) .. tension 1 and 1 ..
{down}(350.438,636.595) .. tension 1 and 1 ..
{left}(279.936,518.4) .. tension 1 and 1 ..
{up}(186.624,586.829) .. tension 0.93744 and 1.09623 ..
{up}(256.666,697.075) .. tension 1 and 1 ..
{left}(184.55,740.275) .. tension 1 and 1 ..
{down}(78.7968,659.405) .. tension 1 and 1 ..
{down}(201.898,363.101) .. tension 1 and 3.43742 ..
{left}(168.269,223.776) .. tension 1.56096 and 1 ..
{up}(151.046,269.088) .. tension 1 and 1 ..
{up} cycle
;
fill
(73.6776,83.6076) .. tension 1 and 1 ..
(234.921,86.5935) .. tension 1 and 1 ..
cycle
;
%%endpaths
%%beginbody
% glyphname:space
%%begincomponents
%%endcomponents
endchar;
beginchar(null,1,-1,-1,-1);
%%beginbody
charwd := 0;
endchar;
beginchar(linefeed,10,-1,-1,-1);
%%beginbody
charwd := 0;
endchar;
beginchar(zwj,8205,-1,-1,-1);
%%beginbody
%847
charwd := 0;
endchar;
beginchar(cgj,847,-1,-1,-1);
%%beginbody
%847
charwd := 0;
endchar;
defchar(space,32,-1,-1,-1);
%%beginbody
charwd := 100 + lefttatweel *nuqta ;
enddefchar;
beginchar(space.ii,-1,-1,-1,-1);
%%beginbody
charwd := 0;
endchar;
beginchar(rubelhizb,1758,-1,-1,-1);
%%backgroundimage:images/hizb.jpg,-3327.71,-1243.16,1,0,0,1
%%beginparams
z1 = (279,279);
%%beginbody
save displacx,displacy,dir_,flower;
displacx := 32;
displacy := 87;
dir_ := 130;
z2 = z1 + (-displacx,displacy);
z3 = z1 + (displacx,displacy);
z4 = z1 + (0,1.5*displacy);
x5 := x1;
y5 := y1-57;
picture flower;
flower := image(
fill
z1 {left} .. tension 2.3 and 10 ..
{up}z2 .. tension 1 and 0.75 ..
{right}z4 .. tension 0.75 and 1 ..
{down}z3.. tension 10 and 2.3 ..
{left} cycle
;
);
draw flower;
for i=1 upto 6 :
draw flower rotatedaround (z5,i*51.42);
endfor
currentpicture := currentpicture rotatedaround (z5,25);
fill fullcircle scaled 73 shifted z5;
leftbearing :=0;
rightbearing :=0;
endchar;
beginchar(placeofsajdah,1769,-1,-1,-1);
%%backgroundimage:images/sajda.jpg,97.5,-1088.55,1,0,0,1
%%beginpaths
fill
(182.381,62.892) {dir 46.9416} .. tension 0.777713 and 1.39836 ..
{up}(223.899,142.072) .. tension 1 and 0.970707 ..
{dir 90.2111}(224.392,332.112) {dir -172.958} .. tension 3.768 and 0.792849 ..
{up}(147.472,411.94) .. tension 1.00047 and 1.0846 ..
(295.943,561.937) .. tension 1 and 7.25616 ..
{right}(343.654,611.738) .. tension 20.565 and 1 ..
(385.038,567.191) .. tension 0.91019 and 1.00181 ..
{down}(539.127,409.609) .. tension 0.762728 and 3.73358 ..
{dir -178.87}(461.843,331.447) {dir -91.8396} .. tension 1.2633 and 1.34752 ..
{down}(462.031,151.979) .. tension 0.75 and 3.40871 ..
{dir -31.929}(506.586,63.0925) {dir -174.296} .. tension 4.04907 and 5.3958 ..
(365.1,62.441) .. tension 5.4814 and 3.69291 ..
{dir 174.808} cycle
;
fill
(343.204,567.451) .. tension 7.79178 and 1 ..
(304.143,531.149) .. tension 1 and 1.15093 ..
{down}(176.022,412.326) .. tension 0.777617 and 1.7363 ..
{dir 7.20741}(252.847,358.952) {dir -88.1918} .. tension 0.936078 and 1 ..
{down}(251.565,136.973) .. tension 1 and 2.19193 ..
{dir -110.601}(238.945,90.3626) {dir -3.13716} .. tension 8.50709 and 8.93688 ..
{dir -6.21547}(448.081,90.2488) {dir -73.2874} .. tension 67.5681 and 1 ..
{up}(434.519,140.847) .. tension 2.66531 and 0.856785 ..
{dir 88.2894}(433.546,358.957) {dir 0.287361} .. tension 0.868281 and 0.851637 ..
{up}(509.58,411.925) .. tension 1.16283 and 0.819992 ..
(375.719,536.485) .. tension 1 and 16.1977 ..
{left} cycle
;
fill
(205.572,414.692) .. tension 1.54246 and 1 ..
(286.226,482.59) .. tension 1 and 2.92388 ..
{dir 45}(343.315,526.828) {dir -45} .. tension 2.39921 and 1 ..
(409.939,476.342) .. tension 1 and 1.44065 ..
{down}(480.901,414.436) .. tension 0.875665 and 1.37357 ..
{dir -177.781}(404.777,387.428) {dir -90.7548} .. tension 0.849112 and 1.83475 ..
{dir -85.4898}(408.062,119.391) {dir -178.908} .. tension 2.07956 and 2.8069 ..
{dir 178.832}(279.192,119.481) {dir 87.422} .. tension 0.757276 and 0.950584 ..
{dir 88.2792}(282.018,387.164) {dir -179.851} .. tension 1.16809 and 0.949712 ..
{up} cycle
;
%%endpaths
endchar;
defchar(endofaya,1757,-1,-1,-1);
%%backgroundimage:images/aya.jpg,-368.206,-1170.09,1,0,0,1
%%beginparams
z1 = (540.412,885.435);
z2 = (529.914,603.596);
z2.2 = (551.163,578.358);
z3 = (952.322,270.743);
z4 = (934.574,274.684);
z8 = (560.353,-249.19);
z9 = (559.556,-228.144);
%%beginverbatim
penwidth_ := 20;
color bluecolor[];
%bluecolor1 := (136/255,199/255,230/255);
bluecolor1 := (221/255,231/255,241/255); %DDE7F1
bluecolor2 := (73/255,190/255,233/255); %49BEE9
%bluecolor3 := (127/255,205/255,241/255);
bluecolor3 := (220/255,240/255,255/255); % DCF0FF
y2.2 := y2;
y4 := y3;
x9 := x8 := x1;
%%endverbatim
%%beginpaths
controlledPath (0,0)(_first)(
z1 .. tension 0.962423 and 0.774639 ..
{dir -36.5158}(564.911,873.931) .. tension 0.75 and 1.88674 ..
{dir -34.7967}(593.239,830.932) .. tension 1.0101 and 0.75 ..
{dir -21.541}(640.901,818.287) .. tension 1.18315 and 1.09907 ..
{dir -36.1529}(685.208,763.698) .. tension 1.30835 and 0.976457 ..
{dir -66.3023}(726.361,730.837) .. tension 1.09434 and 1.3339 ..
{left}(725.574,678.145) .. tension 1 and 0.75 ..
{up}(714.554,694.511) .. tension 1 and 1.15011 ..
{left}(651.412,754.046) .. tension 0.987105 and 2.3316 ..
{left}(595.249,736.39) .. tension 1 and 1 ..
{up}(584.778,743.765) .. tension 1.3004 and 5.42692 ..
{up}(647.768,777.042) .. tension 1 and 1 ..
{left}(599.368,804.109) .. tension 0.870873 and 1.68424 ..
{left}(550.27,782.986) .. tension 1 and 1 ..
{up}(543.198,791.879) .. tension 1 and 1 ..
{up}(566.108,826.389) .. tension 1 and 2.23473 ..
{left}(x1,868.018) .. tension 2.55249 and 1.77211 ..
{right} cycle
);
controlledPath (1,0)(_second)(
z2 .. tension 1.18369 and 0.75 ..
{right}(654.902,696) .. tension 1.15254 and 1 ..
{down}(x3 + penwidth_,y3) .. tension 1 and 1 ..
{up}z3 .. tension 1.0457 and 1.25544 ..
{left}(653.898,676) .. tension 1 and 1.19354 ..
{down}z2.2 .. tension 1.51346 and 1.12156 ..
{up} cycle
);
controlledPath (2,0)(_third)(
z2 .. tension 1.67732 and 1.25959 ..
{down}(x2 + penwidth_,y2) .. tension 1 and 1 ..
{right}(597.867,536.362) .. tension 1 and 1 ..
{up}(639.923,578) .. tension 1 and 1 ..
{left}(622.942,599.418) .. tension 0.784245 and 1.23656 ..
{left}(594.938,567.13) .. tension 1.22994 and 1 ..
{up}(585.104,592.712) .. tension 0.975096 and 0.810412 ..
{right}(635.025,634.838) .. tension 0.75 and 1 ..
(743.508,613.426) .. tension 1 and 2.11677 ..
{down}(842.853,528.935) .. tension 1 and 1 ..
{left}(836.119,516.932) .. tension 1.93273 and 0.75 ..
{left}(747.242,570.481) .. tension 0.944676 and 3.50312 ..
{down}(710.413,552.662) .. tension 1.38947 and 0.75 ..
(742.004,536.008) .. tension 1.09089 and 0.979245 ..
{down}(x4 + penwidth_,y3) .. tension 1 and 1 ..
{up}z4 .. tension 1.05278 and 1.10586 ..
{left}(690.59,519.465) .. tension 0.893841 and 1.5798 ..
{up}(672.159,533.803) .. tension 1 and 4.84862 ..
{up}(716.772,594.215) .. tension 2.5596 and 1.37305 ..
{left}(662.176,614.005) .. tension 1 and 1 ..
{down}(655.377,611.111) .. tension 6.15106 and 0.75 ..
{down}(662.572,579.429) .. tension 0.900067 and 1 ..
{left}(597.049,512.999) .. tension 1.2806 and 0.75 ..
{up} cycle
);
controlledPath (3,0)(_fourth)(
(x1,742.369) .. tension 1.1291 and 1.17856 ..
{down}(603.205,684.827) .. tension 1.74043 and 1.14421 ..
{up}(582.438,681.667) .. tension 1 and 1 ..
{left}(x1,721.053) .. tension 1.30224 and 1.24712 ..
{right} cycle
);
controlledPath (4,0)(_fifth)(
z9 .. tension 1.20827 and 1 ..
(578.192,-216.665) .. tension 1 and 1.2275 ..
{right}(595.486,-198.689) .. tension 1.6671 and 1 ..
{right}(640.041,-203.247) .. tension 1 and 1 ..
(678.916,-175.54) .. tension 1 and 1 ..
(732.446,-151.909) .. tension 1 and 1 ..
{up}(736.014,-131.27) .. tension 3.23302 and 2.76018 ..
{down}(764.899,-118.12) .. tension 1 and 1 ..
(713.062,-186.967) .. tension 1 and 1 ..
(693.464,-192.834) .. tension 1 and 1.30051 ..
{left}(652.768,-220.979) .. tension 1 and 1 ..
{left}(619.13,-222.345) .. tension 1 and 1 ..
(585.56,-236.089) .. tension 1 and 1 ..
{left}z8 .. tension 1 and 1 ..
{right} cycle
);
%%endpaths
%%beginbody
path _paths[],_paths[].r;
_paths0 := _first;_paths1 := _second;_paths2 := _third;_paths3 := _fourth;_paths4 := _fifth;
_paths0.1.r := _paths0 reflectedabout (z1,z1+(0,10));_paths0.1:=reverse _paths0.1.r;
_paths1.1.r := _paths1 reflectedabout (z1,z1+(0,10));_paths1.1:=reverse _paths1.1.r;
_paths2.1.r := _paths2 reflectedabout (z1,z1+(0,10));_paths2.1:=reverse _paths2.1.r;
_paths3.1.r := _paths3 reflectedabout (z1,z1+(0,10));_paths3.1:=reverse _paths3.1.r;
_paths4.1.r := _paths4 reflectedabout (z1,z1+(0,10));_paths4.1:=reverse _paths4.1.r;
_paths1.2.r := _paths1 reflectedabout (z3,z3+(10,0));_paths1.2:=reverse _paths1.2.r;
_paths2.2.r := _paths2 reflectedabout (z3,z3+(10,0));_paths2.2:=reverse _paths2.2.r;
_paths1.3.r := _paths1.1 reflectedabout (z3,z3+(10,0));_paths1.3:=reverse _paths1.3.r;
_paths2.3.r := _paths2.1 reflectedabout (z3,z3+(10,0));_paths2.3:=reverse _paths2.3.r;
fill _paths0;fill _paths1;fill _paths2;fill _paths3;fill _paths4;
fill _paths0.1;fill _paths1.1;fill _paths2.1;fill _paths3.1;fill _paths4.1;
fill _paths1.2;fill _paths2.2;fill _paths1.3;fill _paths2.3;
savepicture := 1;
%coloredglyph:="endofaya.colored";
enddefchar;
defchar(endofaya.colored,-1,-1,5,-1);
%%backgroundimage:images/aya.jpg,-368.206,-1170.09,1,0,0,1
%%beginbody
endofaya_(0,0);
color ayacolor[];
ayacolor1 := convRGB("edf7ff");
ayacolor2 := tint(ayacolor1,-0.5);
ayacolor3 := tint(ayacolor1,-5);
_paths0.r := reverse _paths0;
_paths1.r := reverse _paths1;
_paths2.r := reverse _paths2;
_paths3.r := reverse _paths3;
_paths4.r := reverse _paths4;
z1.int = _paths3.r intersectiontimes _paths1;
z2.int = _paths1 intersectiontimes _paths1.1;
z3.int = _paths3.1 intersectiontimes _paths1.1;
fill (subpath (1,x3.int) of _paths3.1 .. subpath(y3.int,y2.int) of _paths1.1
.. subpath(x2.int,y1.int) of _paths1
.. reverse subpath(1,x1.int) of _paths3.r
.. cycle) withcolor ayacolor3;
z4.int = _paths0.r intersectiontimes _paths1;
z5.int = _paths1.r intersectiontimes _paths3;
z6.int = _paths3.1.r intersectiontimes _paths1.1;
z7.int = _paths1.1.r intersectiontimes _paths0.1;
fill subpath (1,x4.int) of reverse _paths0
.. subpath (length _paths1 - y4.int,x5.int) of _paths1.r
.. subpath (length _paths3 - y5.int, length _paths3) of _paths3.r
.. subpath (0,x6.int) of _paths3.1.r
.. subpath (length _paths1.1 - y6.int,x7.int) of _paths1.1.r
.. subpath (length _paths0.1 - y7.int,length _paths0.1 - 1) of _paths0.1.r
.. cycle withcolor ayacolor2;
z8.int = subpath(2,length _paths2) of _paths2 intersectionpoint subpath(2,length _paths2) of _paths2.1.r;
z9.int = subpath(2,length _paths2) of _paths2.2.r intersectionpoint subpath(2,length _paths2) of _paths2.3;
z4.ref = z4 reflectedabout (z1,z1+(0,10));
fill subpath(xpart (_paths2.r intersectiontimes z8.int),xpart (_paths2.r intersectiontimes z4)) of _paths2.r
.. subpath(xpart ( _paths2.2.r intersectiontimes z4),xpart ( _paths2.2.r intersectiontimes z9.int)) of _paths2.2.r
.. subpath(xpart ( _paths2.3.r intersectiontimes z9.int),xpart ( _paths2.3.r intersectiontimes z4.ref)) of _paths2.3.r
.. subpath(xpart ( _paths2.1.r intersectiontimes z4.ref),xpart ( _paths2.1.r intersectiontimes z8.int)) of _paths2.1.r
.. cycle withcolor ayacolor2;
z10.int = subpath(2,length _paths1.2) of _paths1.2 intersectionpoint subpath(2,length _paths1.3) of _paths1.3.r;
z11.int =_paths1.2.r intersectiontimes _paths4;
z12.int =_paths4.1.r intersectiontimes _paths1.3;
fill subpath(xpart (_paths1.2.r intersectiontimes z10.int),x11.int) of _paths1.2.r
.. subpath(length _paths4 - y11.int,length _paths4 ) of _paths4.r
.. subpath(0, x12.int ) of _paths4.1.r
.. subpath (length _paths1.3 - y12.int, xpart ( reverse _paths1.3 intersectiontimes z10.int)) of _paths1.3.r
.. cycle withcolor ayacolor2;
z13.int = subpath(2,length _paths1) of _paths1 intersectionpoint subpath(2,14) of _paths2;
_paths5 := subpath(1,xpart ( _paths1.r intersectiontimes z13.int)) of _paths1.r
.. subpath(xpart ( _paths2.r intersectiontimes z13.int),length _paths2.r - 1) of _paths2.r
.. cycle;
_paths5.1 := _paths5 reflectedabout (z1,z1+(0,10));
_paths5.2 := _paths5 reflectedabout (z3,z3+(10,0));
_paths5.3 := _paths5.1 reflectedabout (z3,z3+(10,0));
fill _paths5 withcolor ayacolor1;
fill _paths5.1 withcolor ayacolor1;
fill _paths5.2 withcolor ayacolor1;
fill _paths5.3 withcolor ayacolor1;
savepicture := 1;
coloredglyph := "";
setAnchor(dbal,z13.int);
enddefchar;
beginchar(one_dot,-1,-1,-1,-1);
%%backgroundimage:images/onedot.jpg,-1477.93,-1030.32,1,0,0,1
%%beginparams
z1 = (0,0);
%%beginverbatim
_offset := 1/8;
_tension :=0.75;
interim leftbearing := 0;
interim rightbearing := 0;
save _width;
_width:=91;
z2 = z1 + (-_width,0 );
z3 = z2 + (0,_width );
z4 = z1 + (0,_width );
z11 = _offset[z1,z2];
z12 = _offset[z1,z4];
z21 = _offset[z2,z1];
z22 = _offset[z2,z3];
z31 = _offset[z3,z2];
z32 = _offset[z3,z4];
z41 = _offset[z4,z3];
z42 = _offset[z4,z1];
%%endverbatim
%%beginpaths
fill
z11 --
z21 {left} .. tension _tension ..
{up}z22 --
z31 {up} .. tension _tension ..
{right}z32 --
z41 {right} .. tension _tension ..
{down}z42 --
z12 {down} .. tension _tension ..
{left} cycle
;
%%endpaths
%%beginbody
currentpicture := currentpicture rotated -29;
currentpicture := currentpicture shifted (0,-ypart llcorner currentpicture);
savepicture:=1;
endchar;
defchar(minikaf,-1,-1,-1,-1);
%%backgroundimage:images/kaf.fina,-11.7127,-1298.84,1,0,0,1
%%beginpaths
fill
(160.916,217.129) .. tension 1.6784 and 1.33888 ..
{right}(176.067,228.899) .. tension 4.85985 and 0.75 ..
{right}(239.936,221.328) .. tension 1.17312 and 3.51999 ..
{up}(353.781,270.978) .. tension 2.06098 and 1 ..
(301.852,286.267) .. tension 0.75 and 0.831124 ..
{up}(247.144,330.689) .. tension 1.05781 and 4.00799 ..
{right}(339.481,499.855) .. tension 1.81056 and 2.20322 ..
{down}(374.925,472.998) .. tension 3.41871 and 5.059 ..
{left}(344.975,407.63) .. tension 1.30101 and 1 ..
{left}(318.888,427.667) .. tension 1.90279 and 1.6639 ..
{down}(280.904,377.504) .. tension 1.16266 and 1 ..
(349.064,352.316) .. tension 1 and 0.96653 ..
{down}(395.839,311.29) .. tension 1.35152 and 0.75 ..
{left}(266.976,179.751) .. tension 1.26674 and 2.19141 ..
{up} cycle
;
%%endpaths
%%beginbody
leftbearing:=0;
rightbearing:=0;
tr_ := tr_ shifted (0,-ypart llcorner currentpicture);
savepicture:=1;
enddefchar;
beginchar(two_dots,-1,-1,-1,-1);
%%beginparams
z1 = (106,25);
%%beginbody
interim leftbearing := 0;
interim rightbearing := 0;
%drawcomp(one_dot,identity);
%drawcomp(one_dot,identity shifted z1);
draw one_dot.pic;
draw one_dot.pic shifted z1;
savepicture:=1;
endchar;
beginchar(onedotup,-1,-1,-1,-1);
%%beginparams
z1 = (106,25);
%%beginbody
interim leftbearing := 0;
interim rightbearing := 0;
drawcomp(one_dot,identity);
endchar;
beginchar(onedotdown,-1,-1,-1,-1);
%%beginparams
z1 = (106,25);
%%beginbody
interim leftbearing := 0;
interim rightbearing := 0;
drawcomp(one_dot,identity);
endchar;
beginchar(three_dots,-1,-1,-1,-1);
%%backgroundimage:images/threedots.jpg,-1953.7,-730.525,1,0,0,1
%%beginparams
z2 = (10,136);
%%beginbody
interim leftbearing := 0;
interim rightbearing := 0;
drawcomp(two_dots,identity);
drawcomp(one_dot,identity shifted z2);
endchar;
beginchar(twodotsup,-1,-1,-1,-1);
%%beginparams
z1 = (106,25);
%%beginbody
interim leftbearing := 0;
interim rightbearing := 0;
drawcomp(two_dots,identity);
endchar;
beginchar(twodotsdown,-1,-1,-1,-1);
%%beginparams
z1 = (106,25);
%%beginbody
interim leftbearing := 0;
interim rightbearing := 0;
drawcomp(two_dots,identity);
endchar;
defchar(fatha,1614,-1,-1,-1);
%%backgroundimage:images/fatha.2.jpg,-155.302,-721.819,1,0,0,1
%%beginparams
z1 = (0,0);
z2 = (14.7999,46.615);
%%beginverbatim
save defWidth,defAngle,tan,width_;
defWidth:= 215;
defAngle:= 18.7;
if lefttatweel > 0 : defAngle := defAngle - 1.5 * lefttatweel; fi
tan := (sind defAngle)/ (cosd defAngle);
show tan;
width_ = lefttatweel * nuqta + defWidth;
opp := tan * width_;
show opp;
z4 = z1 + (width_ ,opp);
show z4;
%%endverbatim
%%beginpaths
fill
z1 .. tension 3.72346 and 6.50311 ..
(z2 + z1) .. tension 36.0958 and 69.8794 ..
(z2 + z4) .. tension 2.70037 and 9.86725 ..
z4 .. tension 56.1185 and 29.68 ..
cycle
;
%%endpaths
%%beginbody
savepicture:=1;
%%backgroundimage:images/fatha.jpg,-1339.38,-204.838,1,0,0,1
%%backgroundimage:images/fatha.max.jpg,-519.175,-364.326,1,0,0,1
enddefchar;
defchar(kasra,1616,-1,-1,-1);
%%beginbody
fatha_(lefttatweel,0);
leftbearing := 0;
rightbearing := 0;
enddefchar;
beginchar(fathatan,1611,-1,-1,-1);
%%backgroundimage:images/kastratan.jpg,-388,-876,1,0,0,1
%%beginbody
picture _temppic;
_temppic := image(
fatha_(0,0);
);
draw _temppic;
draw _temppic shifted (0,100);
leftbearing := 0;
rightbearing := 0;
savepicture:=1;
endchar;
beginchar(kasratan,1613,-1,-1,-1);
%%backgroundimage:images/kastratan.jpg,-388,-876,1,0,0,1
%%beginbody
leftbearing := rightbearing := 0;
drawcomp(fathatan,identity);
endchar;
defchar(fathatanidgham,2288,-1,-1,-1);
%%beginbody
lefttatweel := lefttatweel - 0.5;
picture _temppic;
_temppic := image(
fatha_(lefttatweel,righttatweel);
);
draw _temppic;
z.ul = ulcorner _temppic;
z.ur = urcorner _temppic;
z.lr = lrcorner _temppic;
%draw _temppic shifted (1/2(x.ul - x.ur), (y.ur-y.lr));
draw _temppic shifted (2/3(x.ul - x.ur), 30);
%show z.s;
enddefchar;
defchar(kasratanidgham,2290,-1,-1,-1);
%%beginbody
lefttatweel := lefttatweel - 0.5;
picture _temppic;
_temppic := image(
fatha_(lefttatweel,righttatweel);
);
draw _temppic;
z.ul = ulcorner _temppic;
z.ur = urcorner _temppic;
z.lr = lrcorner _temppic;
draw _temppic shifted (1/3(x.ul - x.ur), -(y.ur-y.lr));
enddefchar;
beginchar(damma,1615,-1,-1,-1);
%%backgroundimage:images/dammatanidgham.jpg,-366.489,-755,1,0,0,1
%%beginpaths
fill
(12.0563,130.018) {up} .. tension 2.75138 and 0.75 ..
(60.5305,170.279) .. tension 1.12673 and 2.60256 ..
{dir 74.9165}(169.112,286.797) {dir 164.934} .. tension 1.32302 and 1.14428 ..
{up}(91.5842,332.306) .. tension 1.25258 and 1.59163 ..
{right}(167.357,444.411) .. tension 1.12774 and 1.41707 ..
{down}(215.341,352.105) .. tension 1 and 0.959715 ..
{dir -99.7802}(214.975,330.55) {dir -24.8226} .. tension 1.2342 and 1.5952 ..
{dir -55.3435}(243.383,320.311) .. tension 4.11958 and 5.6604 ..
{dir -137.734}(231.672,271.982) {dir 166.147} .. tension 0.75 and 0.809262 ..
{dir 162.342}(202.612,279.932) {dir -117.435} .. tension 0.751367 and 1 ..
(156.671,215.109) .. tension 0.75 and 8.93194 ..
{left}(22.3034,125.153) .. tension 1 and 1.34199 ..
cycle
;
fill
(119.959,356.476) .. tension 8.55133 and 1.60731 ..
{dir -7.90563}(184.549,333.416) {dir 56.3443} .. tension 3.66292 and 1.27161 ..
{left}(165.294,390.885) .. tension 0.878764 and 2.27782 ..
{down} cycle
;
%%endpaths
%%beginbody
leftbearing := rightbearing := 0;
tr_ := tr_ shifted (0,-ypart llcorner currentpicture);
savepicture:=1;
endchar;
beginchar(damma.ii,-1,-1,-1,-1);
%%backgroundimage:images/damma.jpg,-843.117,-807.995,1,0,0,1
%%beginpaths
fill
(12.0563,130.018) {up} .. tension 2.75138 and 0.75 ..
(57.042,164.232) .. tension 1 and 2.60256 ..
{dir 74.9165}(182.368,279.82) {dir 163.246} .. tension 1.22628 and 1.23835 ..
{up}(103.669,325.624) .. tension 1.25258 and 2.0234 ..
{right}(183.076,435.349) .. tension 0.974447 and 1.18422 ..
{down}(232.784,340.709) .. tension 1 and 0.75 ..
{dir -108.139}(229.161,312.642) {dir -21.5956} .. tension 0.861817 and 0.80549 ..
{dir -16.6025}(259.741,303.383) {dir -107.849} .. tension 0.75 and 5.6604 ..
{dir -137.734}(247.254,264.307) {dir 166.147} .. tension 0.75 and 0.809262 ..
{dir 162.342}(217.496,272.955) {dir -119.176} .. tension 0.75 and 1 ..
(188.3,231.388) .. tension 0.82163 and 8.93194 ..
{left}(25.5594,125.386) .. tension 1 and 1.34199 ..
cycle
;
fill
(138.332,344.615) {curl1} .. tension 2.18666 and 1.22257 ..
{curl1}(203.852,318.066) {curl1} .. tension 2.50992 and 1.53862 ..
{left}(180.178,391.815) .. tension atleast 1.33323 ..
cycle
;
%%endpaths
%%beginbody
leftbearing := rightbearing := 0;
tr_ := tr_ shifted (0,-ypart llcorner currentpicture);
savepicture:=1;
endchar;
beginchar(dammatan,1612,-1,-1,-1);
%%backgroundimage:images/dammatan.jpg,-218.604,-718.488,1,0,0,1
%%beginpaths
fill
(-4.15908,108.205) {up} .. tension 5.27723 and 0.801777 ..
(140.305,227.608) .. tension 1 and 1.46163 ..
{curl1}(172.305,267.698) .. tension 5.81867 and 1.39363 ..
{up}(88.417,313.827) .. tension 1.25258 and 1.29015 ..
{right}(177.793,431.923) .. tension 1.34919 and 1 ..
{down}(222.104,325.207) .. tension 0.75 and 3.81871 ..
(219.092,303.583) .. tension 4.15437 and 52.8708 ..
(250.18,291.582) .. tension 7.149 and 2.37807 ..
{curl1}(237.785,250.599) {dir 160.519} .. tension 1.67568 and 6.35471 ..
{left}(207.44,258.729) .. tension 9.58708 and 0.8377 ..
(156.069,194.31) .. tension 1.16305 and 3.46588 ..
{left}(5.339,103.702) .. tension 1 and 1 ..
cycle
;
fill
(125.244,338.027) .. tension 6.72394 and 1.43875 ..
{dir -19.1992}(193.218,308.734) {dir 76.3285} .. tension 2.03034 and 1.53574 ..
{left}(167.491,386.948) .. tension atleast 1.25367 ..
{down} cycle
;
fill
(46.8524,232.56) {left} .. tension 8.56553 and 1 ..
{up}(3.54299,309.894) .. tension 1.1318 and 1.25463 ..
(112.214,498.2) .. tension 1 and 1.48376 ..
{right}(206.776,532.674) .. tension 1.14002 and 1 ..
{down}(279.034,464.16) .. tension 0.817628 and 31.1653 ..
{left}(262.538,403.552) .. tension 1 and 1 ..
{up}(258.507,406.15) .. tension 2.09493 and 0.75 ..
{up}(260.874,429.47) .. tension 1.17904 and 0.75 ..
{left}(194.66,484.804) .. tension 1.3915 and 1 ..
(133.959,468.206) .. tension 0.75 and 3.79259 ..
{down}(25.505,321.603) .. tension 1.24949 and 2.51675 ..
{down}(61.6805,273.088) .. tension 1.51202 and 4.20602 ..
cycle
;
%%endpaths
%%beginbody
tr_ := tr_ shifted (0,-ypart llcorner currentpicture);
leftbearing := 0;
rightbearing := 0;
endchar;
beginchar(dammatanidgham,2289,477,327,-2);
%%backgroundimage:images/dammatanidgham.jpg,-212.552,-629.828,1,0,0,1
%%beginparams
z1 = (165,0);
%%beginpaths
fill
(-0.279082,4.18622) .. tension 3.64895 and 1 ..
(69.2122,63.8915) .. tension 1 and 1.23119 ..
{dir 61.004}(156.565,161.03) {dir 163.852} .. tension 0.75 and 1.46308 ..
{up}(78.4219,206.07) .. tension 1.79978 and 1.11829 ..
{right}(158.519,318.607) .. tension 2.09477 and 0.75 ..
{down}(201.218,209.034) .. tension 1.04941 and 1 ..
(80.3755,38.7741) .. tension 1 and 4.18292 ..
{left}(8.93061,0.260876) .. tension 1 and 1 ..
{up} cycle
;
fill
(153.495,266.523) .. tension 1 and 3.95583 ..
{down}(109.4,236.084) .. tension 2.5829 and 1.09784 ..
{dir -6.60452}(173.868,208.735) {dir 79.2168} .. tension 4.81967 and 1 ..
{left} cycle
;
%%endpaths
%%beginbody
draw damma.pic shifted z1;
leftbearing := 0;
rightbearing := 0;
tr_ := tr_ shifted (0,-ypart llcorner currentpicture);
endchar;
beginchar(shadda,1617,-1,-1,-1);
%%backgroundimage:images/shadda.jpg,-342.279,-466.986,1,0,0,1
%%beginpaths
fill
(19.3702,63.6891) {up} .. tension 1 and 3.06146 ..
{right}(44.4208,127.998) .. tension 1 and 1 ..
{down}(47.6903,122.325) .. tension 13.8167 and 1 ..
{down}(41.8244,90.7804) .. tension 1.42203 and 0.75 ..
{right}(62.8095,63.5384) .. tension 0.770853 and 0.965909 ..
(117.931,100.121) .. tension 1 and 1 ..
{up}(125.074,135.376) .. tension 4.05077 and 1.99521 ..
{right}(144.816,149.432) .. tension 6.31783 and 0.75 ..
{down}(145.779,125.542) .. tension 0.85953 and 1 ..
{right}(173.841,90.3924) .. tension 1.06588 and 2.7815 ..
{up}(208.436,106.824) .. tension 0.980321 and 1.01949 ..
{up}(200.224,141.262) .. tension 5.80136 and 4.34626 ..
{right}(220.815,178.571) .. tension 5.75265 and 1 ..
{down}(230.453,118.981) .. tension 0.757048 and 1.23208 ..
{left}(167.989,44.582) .. tension 0.75 and 1.25405 ..
{curl1}(125.747,66.6118) {curl1} .. tension 0.945382 and 0.890023 ..