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: 2443
Joined: Fri Aug 13, 2004 5:10 pm

Ligature Fonts

Post by jussij » Sun Nov 11, 2018 11:49 pm

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

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 1981 times

However, with the ligature font option enabled that code now looks like this:
lf-enabled.png
lf-enabled.png (15.2 KiB) Viewed 1981 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 1981 times

Post Reply
kuchnie warszawa opinie

Who is online

Users browsing this forum: No registered users and 2 guests