Page 1 of 1

Ligature Fonts

Posted: Sun Nov 11, 2018 11:49 pm
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 33016 times
However, with the ligature font option enabled that code now looks like this:
lf-enabled.png
lf-enabled.png (15.2 KiB) Viewed 33016 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 33016 times