Giter VIP home page Giter VIP logo

Comments (5)

stefano-k avatar stefano-k commented on June 29, 2024

https://github.com/mate-desktop/mate-icon-theme/blob/master/mate/48x48/mimetypes/text-x-preview.png

from mate-icon-theme.

alexsl avatar alexsl commented on June 29, 2024

No this is not helpful. This file is not what must be in theme for displaying text on thumbnails.
Please see "Icon Theme Specifications" - http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#file_formats
The "File Formats" section, "Table 3. Icon Data Keys".
And the "Example" section - http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#example
Quote:

Where birch/scalable/mimetypes/mime_text_plain.icon contains:

[Icon Data]
DisplayName=Mime text/plain
EmbeddedTextRectangle=100,100,900,900
AttachPoints=200,200|800,200|500,500|200,800|800,800

And birch/48x48/mimetypes/mime_text_plain.icon contains:

[Icon Data]
DisplayName=Mime text/plain
EmbeddedTextRectangle=8,8,40,40
AttachPoints=20,20|40,40|50,10|10,50

The text-x-preview.icon file must be plain text file, contains text as you can see above in [Icon Data].

from mate-icon-theme.

szesch avatar szesch commented on June 29, 2024

Feel free to open a pull requests.

from mate-icon-theme.

alexsl avatar alexsl commented on June 29, 2024

I can make this files myself, but I do not know correct parameters for TextRectangle. When parameters are incorrect the text on thumbnail is not in the icon (not centered and goes over the icon border). May be need some tests to fit this parameters to the icon image.

from mate-icon-theme.

stefano-k avatar stefano-k commented on June 29, 2024

4f4e8bc

from mate-icon-theme.

Related Issues (19)

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.