Menu

#127 Text output

open
nobody
None
5
2007-07-01
2007-06-21
No

The attached code (which is nothing more than proof of concept code) provides ncurses text output for Fuse.

At the moment, this is a great big ugly hack arbitrarily shoehorned into the middle of the GTK+ UI, but there you go. I never said it was pretty.

What's the point of this? A blind user e-mailed WoS today, asking if it would be possible to use his screen-reader with Spectrum games. At the moment, I'm guessing the answer would be "no" (he uses a screen reader, and I'm guessing these hook into the Windows drawing libraries, rather than doing full OCR), but a refined version of this patch may allow it to be possible.

Discussion

  • Philip Kendall

    Philip Kendall - 2007-06-21

    alpha ncurses output

     
  • Philip Kendall

    Philip Kendall - 2007-07-01

    Logged In: YES
    user_id=29214
    Originator: YES

    Second version of the patch attached. Unfortunately, not as successful as I'd like it to me: almost every game doesn't work for one reason or another. The only bright spot is that the Level 9 games do work...
    File Added: ncurses2.diff

     
  • Philip Kendall

    Philip Kendall - 2007-07-01

    Second version of ncurses output

     
  • Philip Kendall

    Philip Kendall - 2007-07-01

    Logged In: YES
    user_id=29214
    Originator: YES

    Third version: bit of a rework here :-) ncurses doesn't have the level of keyboard handling we need (it gives only keypresses, not key up/down events, and can't report Shift being pressed on its own), so... rework this to use GTK+. No change to the actual OCR code, except we now get copyright and sterling symbols out properly.

    To apply this patch, you'll first have to copy your ui/gtk directory to ui/gtk-ocr, and then compile with the --with-ocr option.

     
  • Philip Kendall

    Philip Kendall - 2007-07-01
    • summary: ncurses output --> Text output
     
  • Philip Kendall

    Philip Kendall - 2007-07-01

    GTK+ version of OCR patch

     
  • Philip Kendall

    Philip Kendall - 2007-07-01

    Logged In: YES
    user_id=29214
    Originator: YES

    File Added: ocr.diff

     
  • Philip Kendall

    Philip Kendall - 2007-07-06

    Improved version of GTK+ OCR patch

     
  • Philip Kendall

    Philip Kendall - 2007-07-06

    Logged In: YES
    user_id=29214
    Originator: YES

    File Added: ocr2.diff

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.