Ligature Fonts

Find Tips and tricks on how to better use the Zeus IDE. Feel free to post your own tips but please do not post bug reports, feature requests or questions here.
Post Reply
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Ligature Fonts

Post by jussij »

The latest version of the Zeus IDE adds support for ligature fonts like Cascadia Code, FiraCode, Hasklig and Iosevka.

More programming font options can be found here: https://devfonts.gafi.dev/

To better understand what this means consider the following code:

Code: Select all

<-< <<- <-- <- <-> -> --> ->> >->
<=< <<= <==    <=> => ==> =>> >=>
    >>= >>- >- <~> -< -<< =<<
        <~~ <~ ~~ ~> ~~>
     <<< << <= <>  >= >> >>>

   {. {| [| <:  ?  :> |] |} .}
   <||| <|| <| <|> |> ||> |||>

            <$ <$> $>
            <+ <+> +>
            <* <*> *>

       \  \\  /* */  /// //
      </ <!--  </>  --> />

       ;; :: ::: !! ?? %% &&
      || .. ... ..< .? ?. ?:
       -- --- ++ +++ ** ***
With Zeus configured to use the FiraCode font and with the ligature font option disabled that code will looks like this:
lf-disabled.png
lf-disabled.png (11.21 KiB) Viewed 33014 times
However, with the ligature font option enabled that code now looks like this:
lf-enabled.png
lf-enabled.png (15.2 KiB) Viewed 33014 times
To enable this option use the Enable font ligatures option found in the Options, Editor Options menu, Fonts panel as shown below:
lf-enable.png
lf-enable.png (25.61 KiB) Viewed 33014 times
Post Reply