-
Notifications
You must be signed in to change notification settings - Fork 12k
Model magic #3025
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
base: master
Are you sure you want to change the base?
Model magic #3025
Conversation
Could we also distribute an XML file for Linux users? It would be placed in <?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/vnd.font-fontforge-sfd">
<sub-class-of type="text/plain"/>
<comment>Fontforge Spline Font Database</comment>
<glob pattern="*.sfd"/>
<magic>
<match type="string" offset="0" value="SplineFontDB"/>
</magic>
</mime-type>
</mime-info> |
And should we include the old GGML (mlgg) and GGMF (fmgg) formats? PR #3023 adds (limited) support for converting them to GGUF. |
This just reminded me of something that makes me think we possibly shouldn't encourage edits to https://bugs.launchpad.net/ubuntu/+source/cupsys/+bug/255161 aka OpenOffice won't print on Tuesdays classic :) Edit: Actually, I can sort of reproduce that bug already, any text file starting with I don't have a printer at home to test if it breaks cups :) |
I believe the XML for it would look like this:
Though I'm not sure if it's possible to have match on file extension together with match on filenames with no extension. |
There is also GGLA for LoRAs and GGSN for sessions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch thanks.
This I actually left in on purpose actually in case the version number couldn't be guessed. I don't suppose there's an upper bound for version number? I set 255 by default but not sure that's accurate. Would it make sense to say anything showing a version > 255 is probably a bad coincidence? |
Moved this to docs as per original request: #3011