guberm / tortoisegit

Automatically exported from code.google.com/p/tortoisegit
0 stars 0 forks source link

Mixed Font in Log dialog #1961

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Set "Font for log message" to Courier New.
Do Commit and type chinese and english words in log message.

What is the expected output? What do you see instead?

The font of all english word are Courier New, but the font of english word 
which behind chinese word is wrong. (See attached file.)

What version of TortoiseGit and msysgit are you using? On
what operating system?

TGit 1.8.6
msysGit 1.8.4
XPP SP3

YueLin

Original issue reported on code.google.com by yuelinho...@gmail.com on 28 Oct 2013 at 3:29

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by ch3co...@gmail.com on 28 Oct 2013 at 3:59

GoogleCodeExporter commented 9 years ago
Do you see similar problems in Notepad2 and/or SciTE?

Original comment by sstrickr...@googlemail.com on 28 Oct 2013 at 4:50

GoogleCodeExporter commented 9 years ago
No.
See attached file.

Original comment by yuelinho...@gmail.com on 28 Oct 2013 at 5:57

Attachments:

GoogleCodeExporter commented 9 years ago
attach file again

Original comment by yuelinho...@gmail.com on 28 Oct 2013 at 6:03

Attachments:

GoogleCodeExporter commented 9 years ago
The text area in Log Dialog is RichTextBox, not Scintilla.

Original comment by ch3co...@gmail.com on 28 Oct 2013 at 8:05

GoogleCodeExporter commented 9 years ago
Another information:

It's OK in message text box of commit dialog.

It's OK partially in message of Git Command Progress dialog.
(The "success" blue message is ok at last line.)

Original comment by yuelinho...@gmail.com on 29 Oct 2013 at 1:17

Attachments:

GoogleCodeExporter commented 9 years ago
I also noticed that.

Original comment by ch3co...@gmail.com on 29 Oct 2013 at 12:48

GoogleCodeExporter commented 9 years ago
^_^

Could you please tell me what's difference between "Accepted" and "Started" 
about the status of issue?

And between "Invalid" and "Done"?

Thanks.

Original comment by yuelinho...@gmail.com on 29 Oct 2013 at 1:19

GoogleCodeExporter commented 9 years ago
Accepted = Problem Reproduced.

Original comment by ch3co...@gmail.com on 29 Oct 2013 at 1:21

GoogleCodeExporter commented 9 years ago
Started = Work on this issue has begun
Invalid = This was not a valid issue report
Done = The requested non-coding task was completed

Original comment by ch3co...@gmail.com on 30 Oct 2013 at 2:06

GoogleCodeExporter commented 9 years ago
Thanks. ^_^

YueLin

Original comment by yuelinho...@gmail.com on 30 Oct 2013 at 5:12

GoogleCodeExporter commented 9 years ago
Reported upstream: 
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=306816
7

Original comment by sstrickr...@googlemail.com on 9 Nov 2013 at 8:51

GoogleCodeExporter commented 9 years ago
"That's by design.
What you see is known as "font linking" which happens automatically with
the rich edit control version 2 and higher (the one used to show the log
messages in the log dialog).
http://msdn.microsof​t.com/en-us/library/​windows/desktop/bb78​7873%28v=vs
.85%29.as​px

Now, about font linking:
Usually a font does not cover all possible unicode glyphs but only some
of them. If a font does not have the glyph you want to draw, an ugly box
is drawn instead.
Font linking prevents those ugly boxes by using another font instead
which has that glyph. Which font is chosen is dependent on your system
and what fonts you have installed.
After a 'better' font has been chosen to draw that glyph, the new font
is used until that font does not have a glyph to draw.

You can usually avoid this situation by installing the "support for
asian languages" in the windows region settings. That will install
better fonts so that the chosen font actually has those glyphs and font
linking isn't necessary anymore."
(Stefan Küng, 
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=306818
3)

Original comment by sstrickr...@googlemail.com on 14 Nov 2013 at 12:30

GoogleCodeExporter commented 9 years ago
Is it possible that replace rich edit control to other control such as 
Scintilla?

Please don't set status to WontFix.

Fix it only in Log dialog is good enough for me.

And I can wait.

Original comment by yuelinho...@gmail.com on 14 Nov 2013 at 6:12