Text doesn't align properly in Hebrew

조회 수: 3 (최근 30일)
Jasmine Shragai
Jasmine Shragai 2015년 8월 23일
댓글: Jasmine Shragai 2015년 8월 25일
Hi there! I'm using fileread to read the text from *.txt file as follows:
text_pre = uicontrol('style', 'text',...
'units', 'normalized',...
'fontunits', 'normalized',...
'position', [0.1 0.2 0.8 0.7],...
'horizontalalignment', 'center',...
'fontsize', 0.05,...
'string', fileread('.\UG_Screens\Heb\Pre_Task2.txt'));
The file contains Hebrew text and the following characters: . , ! I have tried aligning it to the center and to the right, but it just won't align! I am adding a screenshot so you can understand what I mean (and I have checked the file for tabs etc., and re-written it as well, no change).
I would really appreciate your assitance! It's not the first time this is happening to me..
  댓글 수: 3
Star Strider
Star Strider 2015년 8월 25일
It’s probably best you contact MathWorks Tech Support.
Jasmine Shragai
Jasmine Shragai 2015년 8월 25일
Thank you

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 String Parsing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by