Compare commits

...

19 commits

Author SHA1 Message Date
Kirill Pertsev df78e71364
Merge pull request #30 from mikejzx/master
FSEX.ttx: Fix inconsistent date error
2023-03-05 19:08:33 -04:00
Kirill Pertsev 084b3db161
Merge pull request #31 from jengelh/master
Updates to the README
2021-08-01 11:45:27 -07:00
Jan Engelhardt ed932dc558 README: various clarifications 2021-08-01 11:25:01 +02:00
Jan Engelhardt 6496c15de6 README: replace link to issue 3 by explanation of the topic 2021-08-01 11:04:13 +02:00
Jan Engelhardt a9ef5b736e README: replace link to issue 21 by result of discussion
If and when GitHub is not available, it's good to have the
terms available locally.
2021-08-01 10:39:06 +02:00
Mike Skec 20d2684f1f
FSEX.ttx: Fix inconsistent date error 2021-04-12 11:07:41 +10:00
Kirill Pertsev 793437a8bc
Update README with the link to VSCode CSS editing gist 2019-10-31 21:14:30 -07:00
Kirill Pertsev 648e74cc04
Added link to the issue explaining -alt version 2019-10-19 17:07:38 -07:00
Kirill Pertsev d9df2f48f1
cosmetics 2019-07-13 11:35:59 -07:00
Kirill Pertsev 47263daac2
Added link to the issue with commercial use guidance 2019-07-13 11:35:33 -07:00
Kirill Pertsev 2ad7b7971d
Update README.md
Added a perl "patch" for VSCode on MacOS
2019-02-06 19:36:50 -08:00
Kirill Pertsev b7b970b4ee
Update README
1. Added link to MacVim issue
2. Added VSCode info about antialiasing
2019-02-04 19:53:33 -08:00
Kirill Pertsev efd6705f91
Revert previous commit 2019-01-25 16:25:16 -08:00
Kirill Pertsev f6b7d94cce
Update README wrt MacVim fix 2019-01-25 16:02:53 -08:00
Kirill Pertsev c7323b94f0
Merge pull request #17 from subylan/master
Update the README to reflect MacVim regression
2018-08-05 15:38:06 -07:00
Benjamin Crawford 27beb0cad8 Update the README to reflect MacVim regression 2018-07-31 16:51:11 +01:00
Kirill Pertsev 228a925305
Updated VSCODE instructions 2018-02-15 15:31:18 -08:00
Kirill Pertsev 59ed71e3b2
Merge pull request #13 from iiiGerardoiii/patch-1
Update README.md
2017-12-14 11:25:10 -08:00
Gerardo 7f192786f8
Update README.md
Added line to disable font smoothing on Sublime Text for better appearance.
2017-12-14 12:03:26 -06:00
2 changed files with 48 additions and 13 deletions

View file

@ -6038,7 +6038,7 @@
<flags value="00000000 00001001"/>
<unitsPerEm value="160"/>
<created value="Mon Mar 5 00:27:48 2007"/>
<modified value="Wed May 8 16:50:55 2016"/>
<modified value="Sun May 8 16:50:55 2016"/>
<xMin value="-140"/>
<yMin value="-40"/>
<xMax value="600"/>

View file

@ -1,9 +1,10 @@
# Fixedsys Excelsior font with programming ligatures
## Original copyright
Created by Darien Valentine
## Distribution terms
[Font website](http://www.fixedsysexcelsior.com)
The font was originally authored by Darien Valentine [@bathos](https://github.com/bathos) and provided via a now-defunct site at [fixedsysexcelsior.com](http://www.fixedsysexcelsior.com). This derivative's source code repository and issue tracker can be found at [github.com/kika/fixedsys](https://github.com/kika/fixedsys/).
The creator(s) of this content have released it to the public domain. For jurisdictions where this is not permitted, it is released under the terms of the Creative Commons Zero Dedication.
## It looks like this
<img src="./images/sample.png" />
@ -14,11 +15,24 @@ There are two versions provided:
1. Default has =< and >= ligated into "less or equal" and "greater or equal"
1. Alt version enables <= (replacing reverse fat arrow) and >= instead (closes #3)
### What is the ALT version in the releases about?
The fonts declare a set of ligatures that replace certain groups of adjacent characters by a combined glyph. The ALT variant has some of the ligature declarations swapped to facilitate code programming, where `<=` is almost always meant to be a less-or-equal operator, and also works for the general case too, based on the presumption that left fat arrows are seldomly used even in scientific texts.
| Input | Normal variant | ALT variant |
|------- | ---------------- | ---------------- |
| `<=` | left fat arrow | less-or-equal |
| `<==` | left fat arrow | left fat arrow |
| `=>` | right fat arrow | right fat arrow |
| `=<` | less-or-equal | (no ligature) |
| `>=` | greater-or-equal | greater-or-equal |
| `>==` | (no ligature) | (no ligature) |
## Rationale
I was always jealous for folks using [Fira Code](https://github.com/tonsky/FiraCode),
I (Kirill Pertsev) was always jealous for folks using [Fira Code](https://github.com/tonsky/FiraCode),
[Hasklig](https://github.com/i-tu/Hasklig) or [Monoid](https://github.com/larsenwork/monoid)
fonts, but my problem is that I have a hard time reading (not even mentioning writing)
a computer program in anything but 8x16 font. I probably spent too much time with older
a computer program in anything but an 8x16 font. I probably spent too much time with older
computers. So after fighting and losing an uphill battle with Glyph2, Fontlab and Fontforge
I discovered [TTX](https://github.com/behdad/fonttools) and was able to finally stop being jealous.
@ -28,12 +42,13 @@ font for consoles and text editing.
## History
This font is a simulated 8x16 bitmap font from old Windows and DOS. It was
truly monospaced and really bitmapped and initially contained only Western ASCII
charset.
truly monospaced and really bitmapped and initially contained only
windows-1250, windows-1251, a subset of windows-1252, windows-1253
and windows-1254.
Darien simulated the bitmap with TrueType outlines by building the font from
10x10 squares ("pixels") and then joining the squares together. As such, this font
only works as intended in only one size and usually with antialiasing switched
off. The size is 16px or 12pt.
off. The size is 16px, or 12pt@96dpi.
He also added a lot of foreign characters and made the font Unicode.
@ -48,14 +63,16 @@ in good old days, you know.
The supported programming ligatures are listed in the `ligatures.txt` file.
To create a TTF file from TTX XML just run `ttx -f FSEX.ttx`
(`-f` means overwrite) or use OS X Makefile to also copy to the user Fonts
folder and update font cache.
To create a TTF file from TTX XML, just run `ttx -f FSEX.ttx`
(`-f` means overwrite) or use the OS X Makefile to also copy it to the user Fonts
folder and update the font cache.
## Supported software (incomplete list, send updates please)
I only tested in MacVim so far (this is the only editor I use). Comments and bug
reports welcome. MacVim should be quite recent for ligatures to work.
**Note**: Versions of MacVim above 8.1-146 seem to have a regression where ligatures are not displayed correctly. Use `brew pin` to maintain your MacVim version below this until this is fixed.
[Tracking issue and workaround](https://github.com/macvim-dev/macvim/issues/841)
Add the following to your `.vimrc`:
@ -74,6 +91,22 @@ Courtesy of [@ForNeVeR](https://github.com/ForNeVeR):
"editor.fontSize": 16,
"editor.fontLigatures": true
```
or, for newer versions (courtesy of [@Kaffiend](https://github.com/Kaffiend))
```json
"editor.fontFamily": "'Fixedsys Excelsior 3.01'",
"editor.fontSize": 15,
"editor.fontLigatures": true
```
**(The following is only for VSCode on MacOS)** For many people this may look ugly because Fixedsys is not designed to be used with antialiasing. Then you may add the following option
```json
"workbench.fontAliasing": "none"
```
Which will make code editor look nice, but everything else in the VSCode UI - ugly. The solution to that is to modify the CSS for the VSCode itself.
[Here is the script that I keep more or less updated when VSCode changes the CSS](https://gist.github.com/kika/2b5a3ccf065a251a6a8cbcdca7d823cc)
- Windows + Visual Studio 2015: works mostly okay, but `->` ligature doesn't work. That's a [known problem of WPF text renderer](https://github.com/tonsky/FiraCode/issues/259#issuecomment-243422144).
- Windows + ConEmu: no ligatures at all. Powerline stuff works okay though, so font is usable even without ligatures. I'd recommend to set font cell width manually to 8 (otherwise it'll have problems determining proper places for line wrapping and rendering Far Manager UI): **Settings****Main****Main console font** group → select **Cell: 8** from the selector.
@ -130,7 +163,9 @@ Based on https://github.com/tonsky/FiraCode/wiki/Setting-up-Emacs
### Sublime Text 3 (build 3146+)
Should be defined in the user settings as so:
```
"font_face": "Fixedsys Excelsior"
"font_face": "Fixedsys Excelsior",
"font_size": 16,
"font_options": ["gray_antialias"]
```
## ToDo