GithubHelp home page GithubHelp logo

nfop's Introduction

nfop

nfop is a small application to display scene release (*.nfo) files in the correct Codepage 437 display format.

Features

  • Codepage 437 display
  • Colour/font customization
  • User settings

screenshot

Releases

Install nfop

Install to system:
# PREFIX=/usr/local/ ./install

Install for package:
# PREFIX=${PKGDIR}/usr/ ./install

Runtime Dependencies

  • perl (>=5.10)
  • gtk (2.24)

Perl modules

  • Gtk2
  • Gtk2::Pango

nfop's People

Contributors

jigoku avatar

Watchers

 avatar  avatar

nfop's Issues

Autoscroll

Implement autoscroll feature.
May require threading?

Slackbuild script

Write a slackbuild package script, and rewrite some of nfop.pl to allow path changes.
eg;
data/gui.* -> /usr/share/data/nfop/gui.{glade,xml}
nfop.pl -> /usr/bin/nfop

Research ANSI colour palettes

Maybe create palette's for selected colour. Use tags/markup to set full multicolour per character or different shades of the same colour?

Find a way to allow negative line height.

Most fonts (excluding liberation mono) have a line height which causes space above/below each line.
Gtk2::TextView has "pixels above lines" setting, although by default it is zero, and cannot have a negative value.

Maybe use markup to set negative line height?

set_fg_colour() uses ugly hack prone to crashing

Currently uses random number (by chance) could be set twice resulting in a crash...
Each time the colour is changed, a new tag is created.

    my $tag = $buffer->create_tag(
        rand(10000)."_foreground", 
        foreground => $colour
    );

For instance, without random digits; if the user sets foreground to #ffffffffffff, and then sets it to #ffffffffffff again, nfop will crash due to the tag already existing.

Find a way to remove/modify/edit the existing tag in place and update the colour property instead of this mess! It's not a big deal however, as it's unlikely the user will change the colour more than a few times. Each time the app is launched, the tags are reset....

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.