The Windows Uniscribe API enables displaying text with far finer control over font features than can be accomplished with other GDI-based functions (DrawText or TextOut for example).
Questions tagged [uniscribe]
19 questions
10
votes
2 answers
How do I balance script-oriented OpenType features with other OpenType features using DirectWrite?
Full disclosure: I'm working on my libui GUI framework's text API. This wraps DirectWrite on Windows, Core Text on OS X, and Pango (which uses HarfBuzz for OpenType shaping) on other Unixes. One of the text formatting attributes I want to specify is…

andlabs
- 11,290
- 1
- 31
- 52
8
votes
1 answer
How to tell if a surrogate pair Unicode character is supported by the font?
I was able to find the following method of determining if a Unicode-16 character is supported by a font. Unfortunately that doesn't work for surrogate pair Unicode characters, since WCRANGE struct supported by GetFontUnicodeRanges function returns…

c00000fd
- 20,994
- 29
- 177
- 400
4
votes
3 answers
Converting LTR to RTL?
As you know many ui components and dev tools doesn't support rtl , we can call it flipping text , cause result is same example :
LTR
سلام salam متن راهنما word
RTL
word متن راهنما salam سلام
is there anyway to convert this LTR to RTL , i don't…
user788552
4
votes
3 answers
Uniscribe Kerning
At work, I have been tasked with improving the text rendering of our application to better support text character kerning. Our application generates images that appear on Television, so image quality is paramount. Therefore, even small improvements…

Ali Parr
- 4,737
- 3
- 31
- 35
2
votes
3 answers
complex text layout of Indic scripts
I am using unicode truetype fonts for telugu.I want to input a sequence of unicode characters in the range specified for telugu and use java functions to display the corresponding letters.Which part of java handles breaking the sequence into…

sivachander
- 21
- 1
1
vote
0 answers
How to draw rotated text with ScriptTextOut?
How do I draw rotated text using the ScriptTextOut function?
I tried both Graphics::SetTransform and SetWorldTransform and they didn't seem to do the trick.

eyelash
- 3,197
- 25
- 33
1
vote
1 answer
How to adjust the width of a font using the Uniscribe API
Please bear with me, I am new to Uniscribe so I hope this isn't a dumb question but I have been unable to find the solution anywhere else. So, here goes...
I am trying to use the Uniscribe API to reduce the width of a font; that is, given a specific…

Chris Young
- 79
- 2
- 9
1
vote
0 answers
Uniscribe ScriptShape character not found in Simplified Arabic Windows Svr 2012 or W10
I have an app which must convert strings out of rtf files to be rendered in pdf.
I have a problem with Simplified Arabic Bold, it works in Windows 7, but fails in Windows 10 or W.Srv 2012.
A very simple word in Arabic:
غ، دهو
I select the…

D.Firka
- 59
- 5
1
vote
1 answer
Why doesn't FONTSIGNATURE reflect lfCharSet?
I'm enumerating Windows fonts like this:
LOGFONTW lf = {0};
lf.lfCharSet = DEFAULT_CHARSET;
lf.lfFaceName[0] = L'\0';
lf.lfPitchAndFamily = 0;
::EnumFontFamiliesEx(hdc, &lf,
reinterpret_cast(FontEnumCallback),
…

Adrian McCarthy
- 45,555
- 16
- 123
- 175
1
vote
0 answers
Trying to export a report with unicode text to pdf using SynPDF, results in mixed-up text
SynPDF have fixed some unicode issues, but not all of them aparently.
The following is a streight forward code for exporting a quickreport to PDF usiny SynPDF:
procedure TForm1.CreatePdf(QuickRep: TCustomQuickRep; const aFileName:…

user1349751
- 81
- 1
- 6
1
vote
1 answer
What exactly happens when Complex Script Support is enabled?
When we click the check box "Install files for complex script and right to left languages (including Thai)" in Regional and Language settings what exactly happens?
Changes to registry keys?
I noticed that it installs some .fon files and keyboard…

Ravi Chhabra
- 1,730
- 3
- 18
- 27
0
votes
2 answers
How to get glyph unicode representation of Unicode character
Windows use uniscribe library to substitute arabic and indi typed characters based on their location. The new glyph is still have the original unicode of the typed character althogh it has its dedicated representation in Unicode
How to get the…

esaesa
- 1
- 1
0
votes
1 answer
How to implement Uniscribe for Linux
I'm trying to implement Uniscribe for Linux to display complex text, such as Arabic. It seems a huge task to do.
What I need to do is to implement the APIs below:
Check if the string is Complex.
Get string width.
Get next segment.
Get next…

Fengfei
- 1
0
votes
0 answers
Facing challenges in ScriptShape(USP10.dll) Windows API in Windows 10
Application under Test : Notepad
Contents Typed in the Notepad : ABCD
Behavior observed in Windows environments :-
Windows 7/Windows 8.1 : In order to draw the text ABCD in notepad, the call gets into ScriptShape Windows API(USP10.dll) to…

Arun Kumar M
- 37
- 7
0
votes
1 answer
Using ScriptGetProperties with Delphi
How can I use ScriptGetProperties API from Uniscribe Dll (usp10.dll) in Delphi
I found an example in C++, but I don't know how to translate it, because I'm not good on C.
const SCRIPT_PROPERTIES **g_ppScriptProperties;
int g_iMaxScript;
WCHAR…

Mohammed Nasman
- 10,992
- 7
- 43
- 68