• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Companion: editing tabs in .cho files should use monospace font
#1
(Note to Mike: i have collected a few feature ideas in the previous months, hence the multiple new topics opened by me, i hope it is okay that i kept one feature idea per forum thread)

I am using the Companion app on macOS at the moment, and realized that editing .cho files there directly can be cumbersome when inserting tabs, since the editor does not use a monospace font.

Would be nice to allow the editor to use a monospace font, or maybe even automatically choose it when inside a chordpro tab directive ( https://www.chordpro.org/chordpro/directives-env_tab/ ) - don't know if that is possible though, technically, to use multiple fonts for different sections in such kind of editor.
Reply
#2
I'm going to need to investigate this, because the text editor dialog should be using a fixed width/monospace font (it's using Consolas at the moment which is available on MacOS based on the quick search I did). So I have no idea why it's not using a monospace font on MacOS if that's what you are seeing. I generally would not recommend using tabs at all though - I would recommend using 4 spaces, because MobileSheets may not render tabs as you are expecting. You may also want to switch the font for lyrics to use a monospace font in MobileSheets if you rely on the spacing to be exact.

Mike
Reply
#3
(05-28-2025, 05:29 AM)Zubersoft Wrote: I'm going to need to investigate this, because the text editor dialog should be using a fixed width/monospace font (it's using Consolas at the moment which is available on MacOS based on the quick search I did). So I have no idea why it's not using a monospace font on MacOS if that's what you are seeing. I generally would not recommend using tabs at all though - I would recommend using 4 spaces, because MobileSheets may not render tabs as you are expecting. You may also want to switch the font for lyrics to use a monospace font in MobileSheets if you rely on the spacing to be exact.

Mike

Hi Mike,

thanks for investigating this. Keep me updated - if you cannot reproduce it on your machine(s), maybe it is an issue with mine? Although i am actually having 2 rather similar MacBooks in 2 places, where both have the issue tbh.

Thanks for the hint about tabs, i am always using spaces though - i am a software developer myself and i am in the same boat when it comes to tabs, they can't always be trusted.
Reply
#4
I have a fix in place for the next update. Apparently Consolas is just not available on MacOS (unless the user happened to install that font). So I switched the code to use Courier New on MacOS instead. You can either wait for the next update or install the Consolas font, as I believe that would also fix the issue.

Mike
Reply




Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2025 MyBB Group.