Alfanous-team / alfanous

Alfanous is an Arabic search engine API provides the simple and advanced search in Quran , more features and many interfaces...
http://www.alfanous.org/
GNU Affero General Public License v3.0
254 stars 89 forks source link

Scrambled ayah's words in desktop GUI in Mac OS #480

Closed sneetsher closed 3 years ago

sneetsher commented 6 years ago

Quran Arabic words are not aligned vertically. It seems a font/shaping-engine issue. See screenshot:

alfanous-desktop-macos10 13
assem-ch commented 6 years ago

@sneetsher did you try to change the font family or size?

sneetsher commented 6 years ago

Same issue but less It could be WebKit rendering issue (each word is in a span/a tag)

By the way, did you disable 2 fonts on purpose:


--- a/src/alfanous-desktop/templates/aya_results.html
+++ b/src/alfanous-desktop/templates/aya_results.html
@@ -67,12 +67,12 @@ padding:12px;

 @font-face {
     font-family:'me_quran';
-    src:url('qrc:/fonts/fonts/me_quran_volt_mark2.ttf');
+    src:url('qrc:/fonts/me_quran_volt_mark2.ttf');
 }

 @font-face {
     font-family:'ArabeyesQr';
-    src:url('qrc:/fonts/fonts/arabeyes-qr.ttf');
+    src:url('qrc:/fonts/arabeyes-qr.ttf');
 } 
alfanous-desktop_macos10 13_another_font
assem-ch commented 6 years ago

Yes, I think I disabled them for some package to run, packaging was a headake