Click here to Skip to main content
15,905,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Text coming out in a wrong orientation Pin
Cedric Moonen1-Sep-09 7:33
Cedric Moonen1-Sep-09 7:33 
GeneralRe: Text coming out in a wrong orientation Pin
Richard MacCutchan1-Sep-09 7:54
mveRichard MacCutchan1-Sep-09 7:54 
General[Message Deleted] Pin
Anthony Appleyard1-Sep-09 8:15
Anthony Appleyard1-Sep-09 8:15 
QuestionRe: Text coming out in a wrong orientation Pin
David Crow1-Sep-09 8:52
David Crow1-Sep-09 8:52 
AnswerRe: Text coming out in a wrong orientation Pin
Anthony Appleyard1-Sep-09 11:31
Anthony Appleyard1-Sep-09 11:31 
GeneralRe: Text coming out in a wrong orientation Pin
Richard MacCutchan1-Sep-09 12:02
mveRichard MacCutchan1-Sep-09 12:02 
GeneralRe: Text coming out in a wrong orientation Pin
Anthony Appleyard1-Sep-09 23:59
Anthony Appleyard1-Sep-09 23:59 
GeneralRe: Text coming out in a wrong orientation [modified] Pin
Richard MacCutchan2-Sep-09 4:25
mveRichard MacCutchan2-Sep-09 4:25 
There are actually two issues here:

1. You are displaying Unicode characters in the range 0x2100 to 0x21FF in your sample (linked to in first article), which may or may not be correct.

2. Font names beginning with @ are designed for vertical characters so will be rotated in 'normal' orientation. I admit this information was not easy to discover - but I managed using Google and MSDN.

I was able to verify all of this by a very simple test program without all the convoluted function calls and parameters in your sample code.

modified on Wednesday, September 2, 2009 11:13 AM

GeneralRe: Text coming out in a wrong orientation Pin
Anthony Appleyard2-Sep-09 5:13
Anthony Appleyard2-Sep-09 5:13 
GeneralRe: Text coming out in a wrong orientation Pin
Richard MacCutchan2-Sep-09 5:19
mveRichard MacCutchan2-Sep-09 5:19 
GeneralRe: Text coming out in a wrong orientation Pin
Anthony Appleyard2-Sep-09 6:18
Anthony Appleyard2-Sep-09 6:18 
GeneralRe: Text coming out in a wrong orientation Pin
Rick York2-Sep-09 11:53
mveRick York2-Sep-09 11:53 
GeneralRe: Text coming out in a wrong orientation Pin
Randor 2-Sep-09 9:51
professional Randor 2-Sep-09 9:51 
GeneralRe: Text coming out in a wrong orientation Pin
Richard MacCutchan3-Sep-09 2:04
mveRichard MacCutchan3-Sep-09 2:04 
QuestionHow to find that an application is executed from command prompt or by double clicking the application ? Pin
Dharmendra Bhargava1-Sep-09 4:51
Dharmendra Bhargava1-Sep-09 4:51 
AnswerRe: How to find that an application is executed from command prompt or by double clicking the application ? Pin
zhu_lin1-Sep-09 4:59
zhu_lin1-Sep-09 4:59 
GeneralRe: How to find that an application is executed from command prompt or by double clicking the application ? Pin
Dharmendra Bhargava1-Sep-09 20:51
Dharmendra Bhargava1-Sep-09 20:51 
AnswerRe: How to find that an application is executed from command prompt or by double clicking the application ? Pin
David Crow1-Sep-09 5:20
David Crow1-Sep-09 5:20 
AnswerRe: How to find that an application is executed from command prompt or by double clicking the application ? Pin
Michael Schubert1-Sep-09 5:25
Michael Schubert1-Sep-09 5:25 
QuestionHow to accept Enter key in Button control. Pin
birajendu1-Sep-09 3:59
birajendu1-Sep-09 3:59 
AnswerRe: How to accept Enter key in Button control. Pin
basementman1-Sep-09 4:02
basementman1-Sep-09 4:02 
GeneralRe: How to accept Enter key in Button control. Pin
birajendu1-Sep-09 4:18
birajendu1-Sep-09 4:18 
GeneralRe: How to accept Enter key in Button control. Pin
basementman1-Sep-09 4:34
basementman1-Sep-09 4:34 
QuestionIs the host name returned from gethostname() call same as what is returned by hostname command? Pin
learner_281-Sep-09 3:39
learner_281-Sep-09 3:39 
AnswerRe: Is the host name returned from gethostname() call same as what is returned by hostname command? Pin
Richard MacCutchan1-Sep-09 6:03
mveRichard MacCutchan1-Sep-09 6:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.