lgi-devs / lgi-devs/lgi

Cairo context missing show_glyphs method

Open
#186 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
491
Forks
81
PR merge metrics
No merged PRs in 30d

Description

I noticed that the method named show_glyphs is missing from the cairo context. Its line in the lgi/override/cairo.lua file is commented.

The method hasn't yet been implemented or can't it be implemented for some specific reason?

Is there an other way one should draw glyphs instead in lgi?

I've been looking at http://zetcode.com/gfx/cairo/cairotext/ and https://github.com/SimonSapin/pycairo/blob/master/examples/cairo_snippets/snippets/show_glyphs.py

Contributor guide

No contributing guide indexed for this repository

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 in lgi/override/cairo.lua at the commented show_glyphs line, then compare the Cairo text examples linked in the issue with lgi's exposed context methods. Done means show_glyphs is available through lgi, or the issue clearly documents why it cannot be implemented and what alternative glyph-drawing path to use.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
computer-graphics
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.