Sublime Forum

Certain Bitmap Fonts Not Working in Windows 7

#1

Currently using Sublime Text 2. Downloaded a set of Windows bitmap fonts (.FON) files from here:
http://int10h.org/oldschool-pc-fonts/

The built-in bitmap fonts (like Courier, Fixedsys, MS Sans Serif, and MS Serif) work just fine in Sublime, but the bitmap fonts in the link above never apply. It just falls back to a default sans-serif font. They work just fine in other programs though (like Notepad++ and Excel 2007), but not Sublime.

Is there a problem with those fonts, or is there a problem with Sublime?

Thx.

JS

0 Likes

#2

I would try ST3 dev build 3140 to see if they work there. We’ve done a bunch of work on font selection in the current dev cycle which may help.

0 Likes

#3

Just tried it. No worky.

0 Likes

#4

Perhaps set "font_options": ["gdi"] to see if DirectWrite doesn’t like the fonts?

0 Likes

#5

Tried. Failed.

0 Likes

#6

Share your console log?

0 Likes

#7

How do I get it?

0 Likes

#8

Open your Console via the View > Show Console menu.

0 Likes

#9

reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings

0 Likes

#10

Check your other ST windows. There should be a lot more there than that. If it is having trouble loading fonts, there should be notices about the font not being found.

0 Likes

#11

Closed all instances, reopened single ST3 instance, here’s what’s there on startup:

DPI scale: 1
startup, version: 3126 windows x64 channel: stable
executable: /C/Program Files/Sublime Text 3/sublime_text.exe
working dir: /C/Program Files/Sublime Text 3
packages path: /C/Users/Jason/AppData/Roaming/Sublime Text 3/Packages
state path: /C/Users/Jason/AppData/Roaming/Sublime Text 3/Local
zip path: /C/Program Files/Sublime Text 3/Packages
zip path: /C/Users/Jason/AppData/Roaming/Sublime Text 3/Installed Packages
ignored_packages: ["Vintage"]
pre session restore time: 0.100376
startup time: 0.122376
first paint time: 0.123376
first paint time: 0.123376
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
plugins loaded
reloading settings Packages/User/Preferences.sublime-settings
reloading /C/Users/Jason/AppData/Roaming/Sublime Text 3/Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading /C/Users/Jason/AppData/Roaming/Sublime Text 3/Packages/User/Preferences.sublime-settings
0 Likes

#12

Build 3126 does not have any of the font selection improvements. You’ll have to have a license to try build 3140, or wait until we do another stable release.

0 Likes

#13

I’m sorry. I just downloaded the first one on the download page figuring it was the latest.

I already have an ST2 license. Do I need to purchase another one to try the ST3 dev build?

This isn’t a critical issue for me. I just figured you’d like a heads-up on it.

0 Likes

#14

https://www.sublimetext.com/3dev has the dev releases. If you have a font that doesn’t work with 3140, I’d recommend creating an issue at https://github.com/SublimeTextIssues/Core/issues with the details so it can be looked into eventually.

0 Likes

#15

Just tried the 3140 build. The problem persists. Here is the log:

DPI scale: 1
startup, version: 3140 windows x64 channel: dev
executable: /C/Program Files/Sublime Text 3/sublime_text.exe
working dir: /C/Program Files/Sublime Text 3
packages path: /C/Users/Jason/AppData/Roaming/Sublime Text 3/Packages
state path: /C/Users/Jason/AppData/Roaming/Sublime Text 3/Local
zip path: /C/Program Files/Sublime Text 3/Packages
zip path: /C/Users/Jason/AppData/Roaming/Sublime Text 3/Installed Packages
ignored_packages: ["Vintage"]
pre session restore time: 0.0900951
font face "Bm437 ATI 8x8" could not be found, defaulting to "Consolas"
startup time: 0.112095
first paint time: 0.114095
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
plugins loaded
0 Likes

#16

From looking at http://int10h.org/oldschool-pc-fonts/readme/, I’m wondering if Bm437 ATI 8x8 is not the name of the font face. The list seems to indicate ATI 8x8 may be the correct name.

0 Likes

#17

I’ve tried every combination I can think of in Sublime, and none of them have worked (including “ATI 8x8”). If I type the full font name into Excel, it works.

0 Likes

#18

We utilize a LOGFONT structure with lfFaceName set to the name specified in settings and then call EnumFontFamiliesEx() to get any matching fonts. Your logs seem to indicate Windows says it can’t find the font in question.

It may be that Bitmap fonts are funny, but you did indicate other Bitmap fonts work fine. Unfortunately I can’t say, at this point, why it isn’t working.

Your best bet is to create an issue and the next time I am working on Windows fonts I can see if I can figure out what funny contortions are required. :slight_smile:

1 Like

#19

Just created a new issue for this. No hurry on my side though. If it involves filling out the blah blah structure and passing it to KillMeNowEx(), I’d rochambeau the new guy into doing it.

Sorry for interrupting on the 4th!

Thx.

JS

0 Likes