Intervention / Intervention/image

Add support for text kerning

Open
#1,246 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

minor-release
Dominant language
PHP
Stars
14.4k
Forks
1.5k
Avg merge
17h 51m
Merged PRs (30d)
11

Description

Letter spacing or text kerning should at least be possible with Imagick:

https://www.php.net/manual/en/imagickdraw.settextkerning.php

However, this is not possible with the GD library and would have to be implemented manually. Unfortunately, I currently doubt that I can achieve visually appealing and typographically correct results with GD driver myself.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked ImagickDraw::setTextKerning documentation and comparing how the Imagick and GD drivers handle text drawing. Define the supported kerning behavior for both drivers and verify that the resulting text rendering is visually and typographically acceptable.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.