Giter Club home page Giter Club logo

x3270-xft's Introduction

x3270-xft

x3270 terminal emulator uses the old X11 core font system which doesn't allow to use anti-aliased (smooth) fonts like .otf, .ttf and so forth. The switch to the modern Xft (X FreeType, which supports anti-aliased fonts) font system is recommended for all X11 applications.

x3270.freetypeFont resource should be used to specify a FreeType font name in the Xft format:

<family>-<size>:<name>=<value>...

Example: "monospace-12". If you don't specify x3270.freetypeFont then x3270 behaves as usual.

This patch should be applied to the 3.3.15ga4 version of x3270 using the following commands:

cd x3270-3.3 && patch -p1 <x3270.patch
./configure
make

x3270-xft's People

Contributors

vadimshchukin avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

mainframed

x3270-xft's Issues

Ported to version 4.0 and font spacing/colors aren't working

I'm not sure if this is dead or not but I ported this to 4.0 here:

mainframed/x3270-xft-changes@dbcb213

And it compiles and works, sort of. Two issues: The font spacing doesn't put the characters in the right place, unless I highlight over them, also intense colors (bold) seems to put the background over the text.

I'm a little in over my head when it comes to writing X11 C code and any help would be appreciated.

Here's some examples (spacing issues):
image
vs
image

And here's what happens when you use the intense hilight for 3270:

Normal:
image
xft (monospace-12):
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.