v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template talk:Diagram/sandbox"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (line-height is the problem)
m
Line 4: Line 4:
  
 
The difficulty isn't end-to-end. That works fine. The problem is getting the bottom of one line to touch the top of the next. Several of the monospace fonts seem to have different heights for different characters (e.g., ┼ vs █▓▒░), which leads to problems either with overlapping or gaps, depending on how the line-height is set. [[User:Hussell|Hussell]] 03:06, 3 December 2009 (UTC)
 
The difficulty isn't end-to-end. That works fine. The problem is getting the bottom of one line to touch the top of the next. Several of the monospace fonts seem to have different heights for different characters (e.g., ┼ vs █▓▒░), which leads to problems either with overlapping or gaps, depending on how the line-height is set. [[User:Hussell|Hussell]] 03:06, 3 December 2009 (UTC)
 +
 +
:The difficulty is top end to bottom end :). It would be nice if there was a well behaved font that most people have. I'm going to see if I can find a mediawiki extension for generating images. [[User:VengefulDonut|VengefulDonut]] 03:25, 3 December 2009 (UTC)

Revision as of 03:25, 3 December 2009

One of the problems is that DF uses its own font. It's difficult to mimic the DF interface exactly with other fonts. I'm getting frustrated enough that I've actually considered cutting up curses_800x600.png into 256 different little images with transparent backgrounds and using them to build these diagrams. Won't work, of course, but short of making a custom font directly from the default DF font image, and somehow making the browser download it automatically, I don't see what I can do. Hussell 02:45, 3 December 2009 (UTC)

I think the image strategy would work, except we wouldn't have control over the foreground color (resp. background color if we did it backwards). It would be strange if it were impossible to get another font to line up end to end. After all, it happens naturally when putting text into the edit box here. VengefulDonut 03:00, 3 December 2009 (UTC)

The difficulty isn't end-to-end. That works fine. The problem is getting the bottom of one line to touch the top of the next. Several of the monospace fonts seem to have different heights for different characters (e.g., ┼ vs █▓▒░), which leads to problems either with overlapping or gaps, depending on how the line-height is set. Hussell 03:06, 3 December 2009 (UTC)

The difficulty is top end to bottom end :). It would be nice if there was a well behaved font that most people have. I'm going to see if I can find a mediawiki extension for generating images. VengefulDonut 03:25, 3 December 2009 (UTC)