Giter Site home page Giter Site logo

Comments (10)

ccanepa avatar ccanepa commented on August 22, 2024

From [email protected] on April 23, 2008 14:31:21

this problem is new, and it only happens with the grossini png. maybe theres some
problem with pyglet? if not, i have no cllue as how to fix it.

from cocos.

ccanepa avatar ccanepa commented on August 22, 2024

From [email protected] on April 23, 2008 14:32:01

maybe u know something about it?

Owner: r1chardj0n3s

from cocos.

ccanepa avatar ccanepa commented on August 22, 2024

From r1chardj0n3s on April 25, 2008 15:57:41

I get rendering errors with that sample, so it's hard to tell, but it looks like a
standard texture magnification issue. Perhaps the change being observed is a switch
from pyglet.image.load (which uses a single texture) to pyglet.resource.image (which
may pack multiple images onto one texture).

I suspect the pyglet.resource module may need to be better about borders.

from cocos.

ccanepa avatar ccanepa commented on August 22, 2024

From twoelz on May 15, 2008 05:54:24

I also see the border sometimes with other png's I use here

from cocos.

ccanepa avatar ccanepa commented on August 22, 2024

From twoelz on May 15, 2008 07:45:41

I also see similar border (usually at one side only) sometimes with cocos.text.Label.
I also noticed that the label text is sometimes slightely clipped at the bottom of
the letters. This also happens in the python interpreter layer (it works as a test
case): try typing 'gOC' and check if the bottom of the letters is flat, slightely
clipped.

from cocos.

ccanepa avatar ccanepa commented on August 22, 2024

From twoelz on May 15, 2008 08:17:59

oh, i forgot to mention, sometimes text is clipped below, sometimes above the
letters, depending on where the text is. the letter change slightely in shape
(thicker, thinner) from one line to another and even within the same line. seems to
have something to do with scaling and/or antialiasing, im not sure.

from cocos.

ccanepa avatar ccanepa commented on August 22, 2024

From [email protected] on May 15, 2008 12:56:03

someone should do a small test case using pyglet only and submit it...

from cocos.

ccanepa avatar ccanepa commented on August 22, 2024

From r1chardj0n3s on February 12, 2010 18:08:11

Not taking ownership of this issue.

Owner: ---

from cocos.

ccanepa avatar ccanepa commented on August 22, 2024

From r1chardj0n3s on February 15, 2010 22:10:05

... though I will note that I fixed a border issue in the cocos.tiles module by setting an
appropriate texture clamp on the cell textures. This may also work for troublesome
sprites...

from cocos.

ccanepa avatar ccanepa commented on August 22, 2024

Seems to be working right in cocos 0.6.0
closing

from cocos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.