Bugs item #1208197, was opened at 2005-05-24 16:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1208197&group_id=2439

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Scintilla
Group: Bug
Status: Open
Resolution: None
Priority: 5
Submitted By: Forest (forestcarlisle)
Assigned to: Nobody/Anonymous (nobody)
Summary: Call Tip popup cutting off top of Japanese characters

Initial Comment:
The Call Tip popup window is cutting off the top of
Japanese characters. This makes many Japanese
characters unreadable.

I have made a fix for this and it looks good in both
Japanese and English.

2 Fixes in CallTip.cxx:

------------------------------------------------------------
CallTip::PaintContents
------------------------------------------------------------
line 138:
        // To make a nice small call tip window, it is only
sized to fit most normal characters without accents
        int ascent = surfaceWindow->Ascent(font) /*-
surfaceWindow->InternalLeading(font)*/;

*** Don't subtract the InternalLeading

------------------------------------------------------------
CallTip::CallTipStart
------------------------------------------------------------
line 253:

        // Extra line for border and an empty line at top and
bottom
        int height = lineHeight * numLines /*-
surfaceMeasure->InternalLeading(font)*/ + 2 + 2;

*** Don't subtract the InternalLeading


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1208197&group_id=2439
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to