Merge lp://staging/~naesten/unifont/fix-panose-for-monospace into lp://staging/unifont

Proposed by Samuel Bronson
Status: Needs review
Proposed branch: lp://staging/~naesten/unifont/fix-panose-for-monospace
Merge into: lp://staging/unifont
Diff against target: None lines
To merge this branch: bzr merge lp://staging/~naesten/unifont/fix-panose-for-monospace
Reviewer Review Type Date Requested Status
Paul Hardy Pending
Review via email: mp+11438@code.staging.launchpad.net
To post a comment you must log in.
Revision history for this message
Samuel Bronson (naesten) wrote :

Hi. It seems that MS Windows considers a font to be monospaced if and only if the Proportion digit (digit 4) of the Panose number is set to 9 (Monospaced). This means that applications like PuTTY won't allow Unifont to be selected unless this digit is set such; could you include this change in the official distributions (and maybe even start using this bzr repository I made to store the in-progress source)?

Unmerged revisions

3. By Samuel Bronson

hex2sfd: give PANOSE appropriate for a monospaced font.

In particular, set digit 4 (Proportion) to 9 (Monospaced).
(This is required to use the font with PuTTy on Windows, and most likely
in some other programs as well.)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/hex2sfd'
2--- src/hex2sfd 2009-08-10 21:54:24 +0000
3+++ src/hex2sfd 2009-09-08 19:39:56 +0000
4@@ -57,7 +57,7 @@
5 PfmFamily: 33
6 TTFWeight: 500
7 TTFWidth: 5
8-Panose: 2 0 6 4 0 0 0 0 0 0
9+Panose: 2 0 6 9 0 0 0 0 0 0
10 LineGap: 72
11 VLineGap: 0
12 OS2WinAscent: 0

Subscribers

People subscribed via source and target branches

to all changes: