Thread: A program to help dyslexics read

  1. #1
    Registered User
    Join Date
    May 2020
    Posts
    23

    A program to help dyslexics read

    To help dyslexics read a document on their computer screens, I'm writing a program to isolate words and phrases in a moveable, resizeable rectangle to make the letters stay put. Should I use the graphics header file to include a function to draw the rectangle or is there a better way to do that?

    I'm eager to hear your thoughts about any aspect of the project, especially the hardest one, making to pogram with with many document formats. But since I still need to invent an algorthim, I'm ignoring, say, what data structures to choose. The more thoroughly I plan the project, the better it'll go. The sooner I code, the more bugs I'll need to squash.

    Thank you for your help.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Which OS are you planning to support?

    For example
    Microsoft Active Accessibility - Win32 apps | Microsoft Docs
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    May 2012
    Posts
    505
    Quote Originally Posted by BillMcEnaney View Post
    To help dyslexics read a document on their computer screens, I'm writing a program to isolate words and phrases in a moveable, resizeable rectangle to make the letters stay put. Should I use the graphics header file to include a function to draw the rectangle or is there a better way to do that?

    I'm eager to hear your thoughts about any aspect of the project, especially the hardest one, making to pogram with with many document formats. But since I still need to invent an algorthim, I'm ignoring, say, what data structures to choose. The more thoroughly I plan the project, the better it'll go. The sooner I code, the more bugs I'll need to squash.

    Thank you for your help.

    This sounds like an interesting project.

    There are many document formats. They all need specialised libraries to parse and extract the text data. I'd advise you to ignore them or you'll spend all your time fiddling with formats and none on the important part of the program, which is the visual interface for people with dyslexia. So just support plain. txt files for now. Once you have proof of concept, you can show your program to the dyslexia people, maybe to Microsoft Word team, maybe make a lot of money out of it.

    You'll probably neeed a GUI to draw the rectangle and put the phrases in aspecial font inside them. So your best bet is probably Windows GDI - the old and simple Windows graphical interface. Learning to write a Windows program is quite complex, but so is any other GUI interface.
    I'm the author of MiniBasic: How to write a script interpreter and Basic Algorithms
    Visit my website for lots of associated C programming resources.
    https://github.com/MalcolmMcLean


  4. #4
    Registered User
    Join Date
    May 2020
    Posts
    23
    Quote Originally Posted by Salem View Post
    Which OS are you planning to support?

    For example
    Microsoft Active Accessibility - Win32 apps | Microsoft Docs
    I hadn't thought about that, Salem. But I'm sure the program would work properly on any plaform where the user needs to read plain ASCII text. You may already know that I'm a Unix guy who runs Windows only because I need it when I proofread for a publisher. So the platforms you mention are new to me.

  5. #5
    Registered User
    Join Date
    May 2020
    Posts
    23
    You'll probaby neeed a GUI to draw the rectangle and put the phrases in aspecial font inside them. So your best bet is probably Windows GDI - the old and simple Windows graphical interface. Learning to write a Windows program is quite complex, but so is any other GUI interface.
    That's a frightening thought for me because I adore a Unix coomand-line. Seriously, I do prefer a command-line and I've never tried to design a GUI. So I suspect writing a Microsoft GUI will be the hardest part of my conceptually easy project.

    In college, I needed to write a simple text editor where the computer stored text lines in a doubly linked list. That program was fairly easy to write. Tokenizing a line is simple, too, but the GUI intimidates me a little.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 10-28-2015, 02:07 PM
  2. Why Won't My Program Read My .hpp file?
    By Insidia in forum C++ Programming
    Replies: 2
    Last Post: 01-13-2012, 11:59 AM
  3. I read my program on gcc but have to run on bcc...
    By philae in forum C Programming
    Replies: 4
    Last Post: 03-06-2006, 08:28 PM
  4. Program to help you read faster
    By Nutshell in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 07-19-2003, 02:06 PM
  5. What first program? Please read it
    By Gades_GD in forum A Brief History of Cprogramming.com
    Replies: 21
    Last Post: 11-21-2001, 10:58 AM

Tags for this Thread