How to change the font size and zoom level in Spyder-Notebook and Spyder-Terminal? - spyder

I have started using Spyder-Notebook and Spyder-Terminal and like them both very much. They both add great usability features that Jupyter Notebook and JupyterLab do not provide all in a simple user interface. I work on high-resolution screens and need to make the Spyder-Notebook documents and fonts larger, particularly when I am delivering training over Zoom.
With Spyder's iPython Console, the Ctrl_Shift+ or Ctrl_- shortcuts zoom in and out.
I have looked for Spyder-Notebook and Spyder-Terminal controls and options in the GUI and menus to try to change font size and zoom in on the notebook documents, but there are no zoom controls or Settings menu interface specifically to address this.
Are there Settings in a configuration text file (e.g., .yaml, .cfg, .ini) or somewhere else that allows me to change the zoom level and font sizes? If so, where are the configurations located and how can they be changed? Where is the documentation for the internals for Spyder-Notebook and Spyder-Terminal?
Any assistance with this will be greatly appreciated.
Thank you.

You can right-click in the notebook and click zoom in or zoom out. This is referenced here as well: https://github.com/spyder-ide/spyder-notebook/issues/174

Related

Setting the default zoom for the preview window in Gummi (LaTeX editor)

I have a question about a (somewhat) old LaTeX editor for linux called Gummi, found here.
In Gummi, you have a live preview of the LaTeX document you are editing. This preview has a zoom level, the default being 100%. You can change it to a different level but it reverts to default if you switch documents. Does anyone know how to change the default level or how to stop it from reverting to the default between documents?
In theory I could edit the source code to make this change since it is an open source project but I am too naive to complete this task, maybe someone can direct me on what to do (but it's probably nontrivial...)?

Clojure GUI for cropping images

I'm making a GUI for selecting regions to crop from images. I have been using Seesaw and cans select rectangular regions, but cannot find a way to set an image to the background of seesaw.canvas. This suggests using icons on labels. Can I make a label paintable and then use it as a canvas? Is there a way to overlap a label and a canvas or somehow use a panel that gives a background to its contents?
I think Quil has this functionality, but I'm not sure how to build a GUI around its draw, setup, sketch form if I want add widgets.
Existing solutions would appreciated as well, as long as I can decompose them. Using GIMP or Photoshop isn't an option for the workflow I want: multiple crops per photo, of different kinds on each page and different metadata added depending on the type of image outlined. Any suggestions for libraries for working with metadata for photos? I was planning on using a shell interface to exiftool, but a more portable option may be better.
You can draw a java.awt.Image (or sub-class) to a canvas with seesaw.graphics/image-shape:
(require '[seesaw.graphics :as g])
(defn paint-canvas [c g2d]
(g/draw g2d (g/image-shape my-image 0 0) (g/style)))
It seems like that should do it.
Also note that labels (and all Seesaw widgets) are paintable. Just set the :paint option like on a canvas and paint away.

Is there a graphical tool for Mac to assist in positioning CCNode objects on a Layer?

If my designer gives me a 960x640px image of what the screen should look like, as well as all of the individual elements as images or text, is there a way to lay out the images and text on the iPhone/iPad screen without doing it manually through code? The way I'm doing it now is a series of trial and error, trying to guess the position of each element.
By the way, the types of layouts I'm trying to do are simple static layouts for stuff like Menus and High Scores lists, etc.
You should try one of the editing tools: LevelHelper, CocoShop and CocosBuilder. The problem will be the output format, make sure that not only the editing part works to your specification but that you can actually use just the snippet of code you need to plug it into your code.
Do you have an image-editing software like Photoshop or GIMP? How about opening the 960x640px image with any such software, then hovering your mouse over the center of each element for its coordinates, and then finally pumping these values into your code?
In my opinion, this is at least better and way faster than trial and error:)
If you want to measure position of graphic elements. You can try a commercial called xscope. The trail version can be downloaded form their official website. It is the best tool I ever seen to measure distance, color(like, it can copy color measured directly to [UIColor ...] format), etc. If you want something freeware, I would like to recommend markman, which is a Chinese software, it's built on adobe air. All elements/button are graphic, so you don't need to read chinese to use it..
You can try to use some open source editor and write your exporter. For example I am using blender as a level editor for the game I am working on. It has a nice python API that can be used to export all the information you need.

Is there a ready made RMagick image editor out there?

I am about to build a basic online image editor for my web application using rails and rmagick. I did a bit of googling but couldn't find any existing solution, however I'd like to be sure before I spend a lot of time rolling my own.
Is anyone aware of a plugin/gem that provides a pre-rolled image editor with undo/redo and minimal image degradation on multiple edits?
Thanks!
I know this exists: Rails Image Editor
http://github.com/heurionconsulting/rails_image_editor/tree/master
It might be too late but I'm building one too. I'm using the Pixastic and Raphael libraries to generate live previews. So people can actually preview the resulting image, without having to wait for the server to process it.
Features are:
Quick fit (make the image instantly fitting a given width, height or width and height)
Crop
Resize
Rotate left and right 90º (animated)
Flip horizontal and/or vertical
Colorize (color picker)
Make warmer (slider)
Make colder (slider)
Make greyscale (one click)
Make sepia (one click)
Glow (slider)
Blur (slider)
Sharpen (slider)
Brightness (slider)
Contrast (slider)
Details:
It is provided as a Rails plugin.
Currently it only works on Paperclip attachments.
Integration is piece of cake (js include and a link in the view, that's it!)
It is displayed as a lightbox-like overlay
All requests are Ajax (so no page reloading)
I skipped RMagick and built a dedicated ImageMagick module for serverside image processing
The whole frontend is based on Q, a javascript toolset providing a slider, color picker, floating windows, growl-like feature, I18n for javascript, decent Cookie management and much more.
configurable with a single YAML file
integrated languages are US English and Dutch
Possible downsides:
Live preview on color correction is not available on IE due to lack of HTML5 canvas support
The Q library is not free for commercial domains (only €49 per domain or €249 for a wildcard version)
This plugin will be available for free next month in Alpha release.

Can JPG's be imported into MapPoint?

Can anyone tell me if it is possible to import .jpg files into MS Mappoint Europe 2006 ?
If it is possible can this be done by an OCX control ?
I would like to import some aerial photography of an area into MapPoint to enhance the coverage of a small area,
Thanks for your time
Ian
Not in an easy and meaningful way.
I have heard of people importing their image tiles as pushpin images, and then plotting these across the map area. This should work but the tile sizes will be scale invariant. Ie. the image will be messed up as you zoom in or out.
A more complex method is to use MapPoint in an ActiveX control and intercept all zoom/pan messages. Then use these to determine the current view area and projection. Then using Win32 GDI+ calls you should be able to overlay an image over the area of the ActiveX control (use alpha to set transparency). That is theory - it would take quite a bit of experimentation to get it to work, and it is probably easier to use an alternative implementation (or even an open source viewer).

Resources