The Following User Says Thank You to Schturman For This Useful Post: | ||
|
2013-12-10
, 08:00
|
|
Posts: 1,389 |
Thanked: 1,857 times |
Joined on Feb 2010
@ Israel
|
#22
|
Fonts are there. droid sans Arabic and droid sans Hebrew
I don't know Hebrew but browser renders Arabic without issues and I think it should be fine for Hebrew too.
However sailfish native apps show Arabic text as squares. I think this is a fontconfig issue but I am yet to get to the bottom of it.
I also assume Hebrew will have the same issues but I haven't tried.
RTL as in mirroring the UI (I am a native Arabic speaker so I know what RTL is) but I am not sure what's meant by it in this context ?
The Following User Says Thank You to ZogG For This Useful Post: | ||
|
2013-12-10
, 11:18
|
|
Posts: 605 |
Thanked: 1,778 times |
Joined on Feb 2008
@ Helsinki
|
#23
|
Probably writing from right to left in input fields?
Also, when I tested, the keyboard showed the hebrew characters as squares, maybe it uses different font by default? Can we change the font in the QML layout file?
It as discussed with sailors on IRC, as well there is difference between browser and system. I have sailfish on n950 and mails with hebrew do not display any hebrew :\
|
2013-12-10
, 18:17
|
|
Posts: 1,389 |
Thanked: 1,857 times |
Joined on Feb 2010
@ Israel
|
#24
|
I can write Arabic fine (Did not try much) so there is still something I don't understand.
The issue with Hebrew is seems to be related to the Arabic issue too.
Droid sans hebrew and droid sans arabic are both being "merged" into droid sans family by fontconfig. Silica uses another font which is assigned explicitly via font.fontFamily
I noticed that arabic shows fine if I install another font OR if I remove the fontconfig family merging XML snippet.
I am yet to understand why this is happening. If someone can dig then please do too
Seems I have missed that discussion. Who did you talk to?
I am not surprised here because browser does its own rendering
The Following User Says Thank You to ZogG For This Useful Post: | ||
|
2013-12-17
, 15:48
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#25
|
import QtQuick 2.0 import ".." KeyboardLayout { KeyboardRow { CharacterKey { caption: ";"; captionShifted: ":"; symView: "1"; symView2: "€" } CharacterKey { caption: "ς"; captionShifted: "€"; symView: "2"; symView2: "£" } AccentedCharacterKey { caption: "ε"; captionShifted: "Ε"; symView: "3"; symView2: "$"; accents: "έ"; accentsShifted: "Έ"; deadKeyAccents: "´έ"; deadKeyAccentsShifted: "´Έ" } CharacterKey { caption: "ρ"; captionShifted: "Ρ"; symView: "4"; symView2: "¥" } CharacterKey { caption: "τ"; captionShifted: "Τ"; symView: "5"; symView2: "₹" } AccentedCharacterKey { caption: "υ"; captionShifted: "Υ"; symView: "6"; symView2: "%"; accents: "ύϋΰ"; accentsShifted: "Ϋ"; deadKeyAccents: "´ύ"; deadKeyAccentsShifted: "´Ύ" } CharacterKey { caption: "θ"; captionShifted: "Θ"; symView: "7"; symView2: "<"; } AccentedCharacterKey { caption: "ι"; captionShifted: "Ι"; symView: "8"; symView2: ">"; accents: "ίϊΐ"; accentsShifted: "ΊΪ"; deadKeyAccents: "´ί"; deadKeyAccentsShifted: "´Ί" } AccentedCharacterKey { caption: "ο"; captionShifted: "Ο"; symView: "9"; symView2: "["; accents: "ό"; accentsShifted: "Ό"; deadKeyAccents: "´ό"; deadKeyAccentsShifted: "´Ό" } CharacterKey { caption: "π"; captionShifted: "Π"; symView: "0"; symView2: "]" } } KeyboardRow { AccentedCharacterKey { caption: "α"; captionShifted: "Α"; symView: "*"; symView2: "`"; accents: "ά"; accentsShifted: "Ά"; deadKeyAccents: "´ά"; deadKeyAccentsShifted: "´Ά" } CharacterKey { caption: "σ"; captionShifted: "Σ"; symView: "#"; symView2: "^" } CharacterKey { caption: "δ"; captionShifted: "Δ"; symView: "+"; symView2: "|" } CharacterKey { caption: "φ"; captionShifted: "Φ"; symView: "-"; symView2: "_" } CharacterKey { caption: "γ"; captionShifted: "Γ"; symView: "="; symView2: "§" } AccentedCharacterKey { caption: "η"; captionShifted: "Η"; symView: "("; symView2: "{"; accents: "ή"; accentsShifted: "Ή"; deadKeyAccents: "´ή"; deadKeyAccentsShifted: "´Ή" } CharacterKey { caption: "ξ"; captionShifted: "Ξ"; symView: ")"; symView2: "}" } CharacterKey { caption: "κ"; captionShifted: "Κ"; symView: "~"; symView2: "°" } CharacterKey { caption: "λ"; captionShifted: "Λ"; symView: "!"; symView2: "¡" } DeadKey { id: deadKey; caption: "´"; captionShifted: "¨";} } KeyboardRow { ShiftKey {} CharacterKey { caption: "ζ"; captionShifted: "Ζ"; symView: "@"; symView2: "«" } CharacterKey { caption: "χ"; captionShifted: "Χ"; symView: "&"; symView2: "»" } CharacterKey { caption: "ψ"; captionShifted: "Ψ"; symView: "/"; symView2: "÷"} AccentedCharacterKey { caption: "ω"; captionShifted: "Ω"; symView: "\\"; symView2: "“"; accents: "ώ"; accentsShifted: "Ώ"; deadKeyAccents: "´ώ"; deadKeyAccentsShifted: "´Ώ" } CharacterKey { caption: "β"; captionShifted: "Β"; symView: "\""; symView2: "”" } CharacterKey { caption: "ν"; captionShifted: "Ν"; symView: ";"; symView2: "„"} CharacterKey { caption: "μ"; captionShifted: "Μ"; symView: ":"; symView2: "·" } BackspaceKey {} } KeyboardRow { SymbolKey { width: symbolKeyWidthNarrow } CharacterKey { caption: "'" captionShifted: "'" width: punctuationKeyWidthNarrow fixedWidth: true } CharacterKey { caption: "," captionShifted: "," width: punctuationKeyWidthNarrow fixedWidth: true separator: false } SpacebarKey { fixedWidth: true } CharacterKey { caption: "." captionShifted: "." width: punctuationKeyWidthNarrow fixedWidth: true separator: false } EnterKey {} } }
|
2013-12-18
, 18:37
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#26
|
KeyBase { Image{ source: "globe.png"; anchors.centerIn: parent; } onClicked: {canvas.layoutRow.switchLayout(0); canvas.updateIMArea()} width: punctuationKeyWidthNarrow }
|
2013-12-20
, 14:19
|
Posts: 34 |
Thanked: 16 times |
Joined on Jul 2012
@ UK/Greece
|
#28
|
|
2013-12-21
, 00:24
|
Posts: 123 |
Thanked: 108 times |
Joined on Oct 2008
@ Prague, Czech
|
#29
|
|
2013-12-21
, 02:02
|
Posts: 123 |
Thanked: 108 times |
Joined on Oct 2008
@ Prague, Czech
|
#30
|
// original code - i don't know what is mean .. // property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr(_deadAccentIndex*2+1, 1) : "" // code for definition deadKeyAccents: "´éˇě" // property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr(_deadAccentIndex+1, 1) : "" // code for definition deadKeyAccents: "´ˇéě" property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr((_deadKeyAccents.length/2)+_deadAccentIndex, 1) : ""
If someone else want to test Hebrew vkb, here is a files:
https://dl.dropboxusercontent.com/u/.../Jolla1/he.qml
https://dl.dropboxusercontent.com/u/...Jolla1/he2.qml
Lausanne & Lyon de descente...
----------------
Schturman's home page
Schturman's repo on openrepos
RPM packaging directly on your Jolla phone.
Root & User SSH access to Jolla via WinSCP.
Root and User SSH access to Jolla via Nautilus on Linux PC.