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

c-mode problems #18

Closed
Dickby opened this issue Mar 30, 2016 · 10 comments
Closed

c-mode problems #18

Dickby opened this issue Mar 30, 2016 · 10 comments

Comments

@Dickby
Copy link

Dickby commented Mar 30, 2016

I installed font-mfizz-2.3.0 and the C symbol is #xf108 not #xf107.

I don't know why but with my emacs-config, modes like C, C++ and Java have the lighter-extension "/lh" (unlike "/l" in your code) so icons for these modes are not working.

@mattfidler
Copy link
Collaborator

For me, the C mode is displaying correctly with #xf107

image

@mattfidler
Copy link
Collaborator

If I change to #xf108, I get the following display

image

mattfidler added a commit that referenced this issue Mar 30, 2016
@mattfidler
Copy link
Collaborator

The lighter C++/lh should be replaced. Let me know if it works for you.

Thank you for your bug report.

What is displaying for the C icon for you?

@Dickby
Copy link
Author

Dickby commented Mar 30, 2016

it works now for modes with "/lh" extension, but all of the mfizz symbols are wrong!?

The Symbol for C is a Bomb.

@ryuslash
Copy link
Owner

Looking at the mfizz website the code is definitely #xf107, #xf108 is the cassandra icon as @mattfidler shows. It is strange it's different for you. Where did you install mfizz from?

@mattfidler
Copy link
Collaborator

Also goto the buffer *scratch* and then type M-: (insert-char #xf107)

They type M-x describe-char

You should get some font information that may help diagnose the issue:
image

@Dickby
Copy link
Author

Dickby commented Mar 31, 2016

It's probably the way I installed mfizz (I made an arch-package with makefontpkg from the .ttf-file).

@mattfidler
Copy link
Collaborator

Hm. I don't think that should change what characters are displayed, but I'm too unfamiliar with the makefontpkg. Perhaps you can copy the font to ~/.fonts. Many distributions set this directory up to install fonts from.

mattfidler added a commit that referenced this issue Apr 4, 2016
All these changes should address Issue #18
@mattfidler
Copy link
Collaborator

In the most recent unreleased commit, you no longer need the fonts installed. However, the icons look better if you can get the fonts installed. So, I would remove the font to see if it displays the C icon for you.

@mattfidler
Copy link
Collaborator

I assume this works now. If not let me know.

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

3 participants