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

Doesn't work on Ubuntu 18.04 #1

Open
TheLazyHatGuy opened this issue May 2, 2019 · 8 comments
Open

Doesn't work on Ubuntu 18.04 #1

TheLazyHatGuy opened this issue May 2, 2019 · 8 comments

Comments

@TheLazyHatGuy
Copy link

Followed the instructions but when I appl y the theme I get the error

A problem has occurred.

Details:
There is no default font
@jmswrnr
Copy link
Owner

jmswrnr commented May 10, 2019

Hey, I believe a temporary workaround is adding the font file to the theme zip before installation with Aseprite.

I was thinking about restructuring this repo to a single zip install with all themes and fonts bundled together, I need to check the font licensing.

@vncastanheira
Copy link

I'm having the same problem, is there a way to put some font to the folder and make it recognize it?

@erryox
Copy link

erryox commented Jun 19, 2019

I have the same issue on Windows 10.

@TheLazyHatGuy
Copy link
Author

@erryox it works fine on Windows 10 for me. I don't think you have installed the font properly.

@erryox
Copy link

erryox commented Jun 19, 2019

@TheLazyHatGuy of course I installed the font properly. I even tried to install it by drag and drop (in the new interface) as well as by a double click.
If I change the font name to say "RandomName" (in the theme.xml), Aseprite gives me "Font name 'RandomName' not found". But when the font name remains "RobotoMono-Bold", Aseprite gives me the error "There is no default font".

@Gruntle-Dev
Copy link

@erryox
I am using the Steam version on Windows 10 and had a similar error. I fixed it by adding the following to the fonts.xml file in the steamapps\common\Aseprite\data\fonts folder.
<font name="RobotoMono-Bold" type="truetype" file="RobotoMono-Bold.ttf" />

@erryox
Copy link

erryox commented Jul 6, 2019

@DrMortim3r thanks, but it isn't working for me.
And now I did some research and found out what the problem. It seems like Windows 10 from some version started to install fonts to user's directories by default. Like ...\AppData\Local\Microsoft\Windows\Fonts\RobotoMono-Bold.ttf and Aseprite for some reason doesn't see them. I tried to specify the full path in the theme.xml, it hasn't worked.

Now you need to install fonts by right-clicking and selecting "Install for all users", it has worked for me.

So yes, we didn’t install the font properly but that worked before.

@njacquemin
Copy link

njacquemin commented Sep 9, 2019

OK, I had the same error on Ubuntu 18.04 but I've found a solution.
When I have downloaded the font, I've dbl-click on it then I've hitted the "Install" button. BUT by doing that, the font was installed in /home/yazgaroth/.local/share/fonts/ . And even with #DrMortim3r's solution, that didn't work.

So, I've followed this article to manually install the font and now it's working ! Wouhou \o/

Note : don't forget to reload Aseprite (and Steam, just in case)
Note : that was bizarre, but the locate command didn't work to find the font. But here, I've found this fc-list | grep "<(partial) name of the font>" and that was very helpful

And thanks for the themes !

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

No branches or pull requests

6 participants