Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mimetype Icons Often Have the Wrong Extension on their Header #17

Open
poudink opened this issue Mar 7, 2023 · 1 comment
Open

Mimetype Icons Often Have the Wrong Extension on their Header #17

poudink opened this issue Mar 7, 2023 · 1 comment

Comments

@poudink
Copy link
Owner

poudink commented Mar 7, 2023

I'm a lazy bum who doesn't bother to rewrite the headers when copying mimetype icons for different file types. I should fix that eventually.

@poudink
Copy link
Owner Author

poudink commented May 23, 2023

Main reason why I haven't been doing this is actually the fact that I don't actually know what font Everaldo used for mimetype headers. I used some random online font finder tools and it seems like Arial Bold is a very close match. Not quite 1:1, but that might just be a side effect of the font -> SVG conversion Everaldo did, or maybe it really was a different font. To be entirely honest, all of these generic sans serif fonts look pretty much the same to me. Either way, I'll probably be using Arial Bold from MS corefonts for these.

EDIT:
Top is copied from one of KDEArtwork's mimetype SVGs for reference (specifically binary.svgz), bottom is recreation using Arial Bold:
bitmap
SVG: Font
Font: Arial
Style: Bold
Font size: 7.845732
Spacing between letters (px): 1.04
Fill (RGBA): ffffffff
Stroke: None
Plus some other steps that I already forgot that probably involved resizing the text object a bit, which doesn't really matter since I can just use the above SVG file as a base without redoing those steps whenever I need to write mimetype headers. Obviously the SVG requires having Arial installed to work properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant