Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
5 posts
|
Hi
I'm having a problem when I try to use Arabic characters, where boxes appear instead of the Arabic letters, I hope to show me the correct way to correct this error. ![]() |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1977 posts
|
Fonts selection is needed for support beyond standard ASCII.
If "unicode" doesn't provide Arabic, please let us know.
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
5 posts
|
If my understanding was correct to your post, I changed the fonts to unicode, but it appeared the same problem.
![]() |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1977 posts
|
Sorry, I can confirm that there is currently no LFF fonts in code base for arabic (UTF-8 block , 0600 - 06FF).
Please help us improve arabic support. 1, find TTF fonts with free software license; 2, convert TTF to LFF using the tool shipped with LibreCAD: tff2lff.
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
5 posts
|
This post was updated on Jan 13, 2015; 3:08pm.
Hello
I found these ttf fonts with free software license: 1- KacstOne 2- Amiri But I dont know how to convert these fonts from TTF to LFF, I am using ubuntu 14.14 32bit. KacstOne.ttf KacstOne-Bold.ttf amiri-regular.ttf |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1977 posts
|
the tool ttf2lff is not included in the ubuntu package librecad. You can always build librecad from source to get the tool:
http://wiki.librecad.org/index.php/LibreCAD_Installation_from_Source I have converted amiri-regular, and added to the master branch: https://github.com/LibreCAD/LibreCAD/blob/master/librecad/support/fonts/amiri-regular.lff You can download this lff file, save it to the librecad font folder. On Ubuntu, this means: $ sudo cp -v ~/Downloads/amiri-regular.lff /usr/share/librecad/fonts/ Restart LibreCAD to be able to select amiri-regular fonts. Please help test amiri-regular to make sure the conversion was done correctly.
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
5 posts
|
I'm sorry, I didnt find the download link when I opend https://github.com/LibreCAD/LibreCAD/blob/master/librecad/support/fonts/amiri-regular.lff
Could you please upload amiri-regular.lff in your post. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1977 posts
|
After you click to open the github file page https://github.com/LibreCAD/LibreCAD/blob/master/librecad/support/fonts/amiri-regular.lff, you can right click on "view raw" to "Save Link as".
I can not upload this file in this post, because it's size is 7.1MB, beyond the maximum allowed upload size. The "view raw" link from github is https://github.com/LibreCAD/LibreCAD/blob/master/librecad/support/fonts/amiri-regular.lff?raw=true , for your convenience.
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
5 posts
|
Thank you for your instructions, I was able to install Amiri font in librecad, but there are still two problems:
1. The direction of the text from left to right when I wrote Arabic words, while in the Arabic language the text direction is from right to left. 2.Arabic words is connected characters, while appeared separate characters in the words ![]() |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1977 posts
|
This post was updated on Jan 14, 2015; 4:34pm.
Thanks for the feedback.
1, "right to left" support can be enabled by some minor changes to LibreCAD; 2, character connection is clearly much harder to implement within the current platform. Any help is welcome; Another thought, we might rely on Qt platform for font support, whenever stic fonts are not required. In other words, only text is needed, and there's no requirement for the text to be exploded into primitive entities (lines/arcs/circles) . See https://github.com/LibreCAD/LibreCAD/issues/476. Since Qt platform has satisfactory fonts support for a wide range of languages, including right-to-left languages, this type of font trouble could be avoided forever.
|
Free forum by Nabble | Edit this page |