Re: Pango Performance (was: Re: --gtk-unbuffered)
- From: Owen Taylor <otaylor redhat com>
- To: gtk-devel-list gnome org
- Subject: Re: Pango Performance (was: Re: --gtk-unbuffered)
- Date: 01 Mar 2001 14:12:23 -0500
Tor Lillqvist <tml Iki fi> writes:
> > + if (1 == has_glyph)
>
> > + else if (2 == has_glyph)
>
> > + return (1 == has_glyph);
>
> It would be preferrable if all of Pango used the same coding style
> conventions. While I certainly understand the rationale for this style
> of writing equality tests, it is nonetheless not used in any of the
> other code, which can be confusing. Or what do others think?
All code in pango/pango/ (the libpango library) should use the coding
style guidelines in:
pango/docs/TEXT/coding-style
I haven't paid attention to whether the win32/ft2 backends are doing this,
but they certainly should.
For shaper modules, I recommend that they follow this style, but it's really
up to the person maintaining the module.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]