Download
Magazine
Develop
Account
Download
Magazine
Develop
Login
Forgot Account/Password
Create Account
Language
Help
Language
Help
×
Login
Login Name
Password
×
Forgot Account/Password
Category:
Software
People
PersonalForge
Magazine
Wiki
Search
OSDN
>
Find Software
>
Terminals
>
Serial
>
Tera Term
>
Ticket List/Search
>
Ticket #11552
Tera Term
Description
Project Summary
Developer Dashboard
Web Page
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
History
Downloads
File Release
List of Releases
Stats
File Storage
Files
Stats
Source Code
Code Repository list
Subversion
View Repository
CVS
View Repository
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
Wiki
FrontPage
Title index
Recent changes
Doc Mgr
List Docs
Communication
Forums
List of Forums
Help (428)
Open Discussion (173)
Mailing Lists
list of ML
ttssh2-commit
ttssh2-dev
ttssh2-users
News
Ticket #11552
Ticket List
Submit New Ticket
RSS
Font linking 誤動作のパッチ
Open Date:
2007-12-22 15:44
Last Update:
2008-02-07 10:39
monitor
ON
OFF
Reporter:
naoh
Owner:
(del#24082)
Type:
Patches
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
2
Vote
Score:
0
No votes
0.0
% (
0
/
0
)
0.0
% (
0
/
0
)
0
0
Details
Reply
個人的にConsolasフォントを使いたくて少し見てみました。
ConsolasをIE( or putty or gVim et al.)で使う - とある
はてな社員の日記
http://d.hatena.ne.jp/stanaka/20060914/1158208602
の設定を行って、
文字化けを避けるためのフォント作成上のコツ(Windows
API)
http://blogs.sqlpassj.org/akiraonishi/articles/4258.as
px
の対策をソースにつけ加えればうまくいくようです。
日本語環境しか試していません。
# English、Russianでどうなるのだろう・・・
変更箇所は、
vtdisp.c の void SetLogFont() 関数で、
VTlf.lfCharSet = ts.VTFontCharSet;
を
HDC TmpDC = GetDC(HVTWin);
VTlf.lfCharSet = GetTextCharset(TmpDC);
ReleaseDC(HVTWin,TmpDC);
などとしてます。
なお、
[#11195] フォント指定の拡張
https://sourceforge.jp/tracker/index.php?
func=detail&aid=11195&group_id=1412&atid=5336
への暫定的な対処になると思われます。
Ticket History (3/16 Histories)
Show older Histories
2007-12-22 15:44
Updated by:
naoh
File
2124: font_patch.txt
is attached
2007-12-22 15:57
Updated by:
naoh
Comment
Reply
Logged In: YES
user_id=29160
と、改めて調べてみたら、
TeratermでColsolasとArisakaを使用 - s_nobuの日記
http://d.hatena.ne.jp/s_nobu/20060727/1153968954
で使えてるみたいですね。
2007-12-25 09:22
Updated by:
(del#24082)
Comment
Reply
Logged In: YES
user_id=24082
パッチありがとうございました。
パッチのほうは、そのまま適用してしまってよろしいのでしょうか?
2007-12-27 12:29
Updated by:
naoh
Comment
Reply
Logged In: YES
user_id=29160
限られた環境で今のところ問題は発生していないのですが、
より適切な箇所で訂正すべきな気がしてきました。
適用についてはもう少し保留させてください。
2007-12-27 13:28
Updated by:
(del#24082)
Resolution
Update from
None
to
Postponed
(Category change on Tracker)
Comment
Reply
Logged In: YES
user_id=24082
了解しました。
新しくパッチができましたら、ご連絡いただければ、CVSリポジト
リへコミットさせていただきます。
2008-01-27 23:05
Updated by:
naoh
File
2155: font_patch2.txt
is attached
2008-01-27 23:08
Updated by:
naoh
(Group change on Tracker)
Comment
Reply
Logged In: YES
user_id=29160
パッチ箇所を修正しました。
ttdlgのフォント指定ダイアログを出すタイミングで修正を行って
います。
2008-01-28 09:44
Updated by:
(del#24082)
Comment
Reply
Logged In: YES
user_id=24082
どうもありがとうございます。
パッチの適用は、 font_patch2.txtのみでよろしいのでしょうか?
2008-01-28 10:33
Updated by:
(del#24082)
Owner
Update from
(None)
to
yutakapon
2008-01-28 12:04
Updated by:
naoh
Comment
Reply
Logged In: YES
user_id=29160
はい、font_patch2.txtのみです。
中身の変更も一行だけです。
2008-01-28 21:11
Updated by:
(del#24082)
Comment
Reply
Logged In: YES
user_id=24082
コミットしました。アーカイブを作成しましたので、念のため確認
をお願いします。
http://ttssh2.sourceforge.jp/snapshot/
snapshot-20080128.zip
2008-01-29 01:28
Updated by:
(del#1144)
Comment
Reply
Logged In: YES
user_id=1144
別の種類のフォントを選択したときに、どういうわけか
サンプル表示が Bold になります。
以前からあったような気もしますが、気のせいでしょうか。
2008-01-29 09:06
Updated by:
(del#24082)
Comment
Reply
Logged In: YES
user_id=24082
4.57リリース版でも「サンプル表示が Bold 」になりました。
今回のパッチはとりあえず無関係ですね。
2008-01-29 13:44
Updated by:
(del#1144)
Comment
Reply
Logged In: YES
user_id=1144
WST_Czec などのシンボルフォントは Bold しかないようです。
これを選択すると"太字"の選択状態になり、フォントダイアログ
ではスタイルが表示されていないので戻せないようです。
LOGFONT lf;
CHOOSEFONT cf;
memset(&lf, 0, sizeof(lf));
memset(&cf, 0, sizeof(cf));
cf.lStructSize = sizeof(cf);
cf.hwndOwner = NULL;
cf.lpLogFont = &lf;
cf.Flags = CF_SCREENFONTS |
CF_INITTOLOGFONTSTRUCT |
CF_FIXEDPITCHONLY |
CF_SHOWHELP |
CF_NOSCRIPTSEL;
ChooseFont(&cf);
2008-02-06 21:58
Updated by:
(del#1144)
Resolution
Update from
Postponed
to
Fixed
2008-02-07 10:39
Updated by:
(del#24082)
Ticket Close date
is changed to
2008-02-07 10:39
Status
Update from
Open
to
Closed
Attachment File List (
2
)
Attachment File List
font_patch.txt
(1KB)
Font指定に関するパッチ
font_patch2.txt
(671bytes)
Font指定に関するパッチその2
Edit
Add Comment
You are not logged in.
I you are not logged in, your comment will be treated as an anonymous post. »
Login
Add Comment
Preview
Submit
ConsolasをIE( or putty or gVim et al.)で使う - とある
はてな社員の日記
http://d.hatena.ne.jp/stanaka/20060914/1158208602
の設定を行って、
文字化けを避けるためのフォント作成上のコツ(Windows
API)
http://blogs.sqlpassj.org/akiraonishi/articles/4258.as
px
の対策をソースにつけ加えればうまくいくようです。
日本語環境しか試していません。
# English、Russianでどうなるのだろう・・・
変更箇所は、
vtdisp.c の void SetLogFont() 関数で、
VTlf.lfCharSet = ts.VTFontCharSet;
を
HDC TmpDC = GetDC(HVTWin);
VTlf.lfCharSet = GetTextCharset(TmpDC);
ReleaseDC(HVTWin,TmpDC);
などとしてます。
なお、
[#11195] フォント指定の拡張
https://sourceforge.jp/tracker/index.php?
func=detail&aid=11195&group_id=1412&atid=5336
への暫定的な対処になると思われます。