Recent

Author Topic: which font shows curly brackets better?  (Read 761 times)

Weiss

  • Full Member
  • ***
  • Posts: 214
which font shows curly brackets better?
« on: March 07, 2025, 07:02:47 am »
Quick question, which font should I chose for Lazarus code display, so that curley brackets would stand out from usual parenthesis?

cdbc

  • Hero Member
  • *****
  • Posts: 2214
    • http://www.cdbc.dk
Re: which font shows curly brackets better?
« Reply #1 on: March 07, 2025, 07:16:13 am »
Hi
I use "DejaVu Sans Mono" 12 pt. in my editor and that's pretty good...  8)
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 3.6 up until Jan 2024 from then on it's both above &: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 4.99

paweld

  • Hero Member
  • *****
  • Posts: 1420
Re: which font shows curly brackets better?
« Reply #2 on: March 07, 2025, 07:36:34 am »
Intel One Mono - see an attachment. Font size: 12
Best regards / Pozdrawiam
paweld

Weiss

  • Full Member
  • ***
  • Posts: 214
Re: which font shows curly brackets better?
« Reply #3 on: March 07, 2025, 07:39:20 am »

n7800

  • Sr. Member
  • ****
  • Posts: 361
Re: which font shows curly brackets better?
« Reply #4 on: March 08, 2025, 12:59:27 am »
If you want to go really radical, you can set up User Defined Markup to highlight any brackets in any color (font, background, style, frame). Example in attachment.

However, this feature is quite complex to set up (especially priorities), and the wiki article is not complete. But this function has a huge number of use cases.

 

TinyPortal © 2005-2018