unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* metrics->rbearing hasn't been initilaized before using in function w32font_text_extents
@ 2008-05-23 13:11 Kevin Yu
  2008-05-26 10:17 ` Juanma Barranquero
  2008-05-26 10:42 ` Jason Rumney
  0 siblings, 2 replies; 3+ messages in thread
From: Kevin Yu @ 2008-05-23 13:11 UTC (permalink / raw)
  To: emacs-devel

Hi,
   It causes unnecessary redrawing, because you will get a big
overhang  value. Is it a bug?

Best wishes.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: metrics->rbearing hasn't been initilaized before using in function w32font_text_extents
  2008-05-23 13:11 metrics->rbearing hasn't been initilaized before using in function w32font_text_extents Kevin Yu
@ 2008-05-26 10:17 ` Juanma Barranquero
  2008-05-26 10:42 ` Jason Rumney
  1 sibling, 0 replies; 3+ messages in thread
From: Juanma Barranquero @ 2008-05-26 10:17 UTC (permalink / raw)
  To: Kevin Yu; +Cc: emacs-devel

On Fri, May 23, 2008 at 3:11 PM, Kevin Yu <yujie052@gmail.com> wrote:

>   It causes unnecessary redrawing, because you will get a big
> overhang  value. Is it a bug?

I don't know if it causes unnecessary redrawing, but it certainly
seems like a bug, because it is later used

	      metrics->rbearing = max (metrics->rbearing,
				       metrics->width + char_metric->rbearing);

without apparently being initialized anywhere.

 Juanma




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: metrics->rbearing hasn't been initilaized before using in function w32font_text_extents
  2008-05-23 13:11 metrics->rbearing hasn't been initilaized before using in function w32font_text_extents Kevin Yu
  2008-05-26 10:17 ` Juanma Barranquero
@ 2008-05-26 10:42 ` Jason Rumney
  1 sibling, 0 replies; 3+ messages in thread
From: Jason Rumney @ 2008-05-26 10:42 UTC (permalink / raw)
  To: Kevin Yu; +Cc: emacs-devel

Kevin Yu wrote:
> Hi,
>    It causes unnecessary redrawing, because you will get a big
> overhang  value. Is it a bug?
>   

Yes, thanks, now fixed.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-26 10:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-23 13:11 metrics->rbearing hasn't been initilaized before using in function w32font_text_extents Kevin Yu
2008-05-26 10:17 ` Juanma Barranquero
2008-05-26 10:42 ` Jason Rumney

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).