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

Ligature Fonts

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

The latest version of Zeus adds support for ligature fonts like FiraCode.

To better understand what this means consider the following code:

Code: Select all

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

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

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

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

       ;; :: ::: !! ?? %% &&
      || .. ... ..< .? ?. ?:
       -- --- ++ +++ ** ***

With the ligature font option disabled that code looks like this:
lf-disabled.png
lf-disabled.png (11.21 KiB) Viewed 477 times

With the ligature font option enabled that code looks like this:
lf-enabled.png
lf-enabled.png (15.2 KiB) Viewed 477 times

To enable the ligature font option just install a font that supports these ligature features and using the Options, Editor Options menu setup the font as shown below:
lf-enable.png
lf-enable.png (25.61 KiB) Viewed 477 times

Post Reply
kuchnie warszawa opinie

Who is online

Users browsing this forum: No registered users and 3 guests