Re: Arduino on Mageia linux

2017-06-22 Thread Shlomo Solomon
As I already wrote, it turned out to be a bad USB cable. I should have
checked that first. My bad.

On Thu, 22 Jun 2017 15:20:40 +0300
borissh1...@gmail.com wrote:

> Hi , 
> 
> I had a similar issue when I checked the wrong board in the IDE (few
> years ago things may have changed). 
> 
> Unplug the device , close the IDE , plug it in again and : 
> 
> dmesg
> ls /dev/serial/by-*
> 
> start the IDE again and make sure you choose the correct board. 
> 
> On Tuesday, 20 June 2017 13:32:28 IDT Shlomo Solomon wrote:
> > I installed the Arduino IDE from Mageia RPMs and added my user to
> > the lock group as instructed.
> > 
> > In the tools >> serial port menu, there is no  /dev/ttyUSB0 -
> > only /dev/ttyS0 and  /dev/ttyS1. I tried both of them but could not
> > upload a program. I read that sometimes Arduino needs to be run as
> > root, so I tried that too with no success. Here's what I get when I
> > try to upload:
> > 
> > Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
> > Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
> > avrdude: stk500_recv(): programmer is not responding
> > avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
> > avrdude: stk500_recv(): programmer is not responding
> > avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
> > avrdude: stk500_recv(): programmer is not responding
> 
> 



-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Arduino on Mageia linux

2017-06-22 Thread borissh1983
Hi , 

I had a similar issue when I checked the wrong board in the IDE (few years ago 
things may have changed). 

Unplug the device , close the IDE , plug it in again and : 

dmesg
ls /dev/serial/by-*

start the IDE again and make sure you choose the correct board. 

On Tuesday, 20 June 2017 13:32:28 IDT Shlomo Solomon wrote:
> I installed the Arduino IDE from Mageia RPMs and added my user to the
> lock group as instructed.
> 
> In the tools >> serial port menu, there is no  /dev/ttyUSB0 -
> only /dev/ttyS0 and  /dev/ttyS1. I tried both of them but could not
> upload a program. I read that sometimes Arduino needs to be run as
> root, so I tried that too with no success. Here's what I get when I try
> to upload:
> 
> Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
> Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
> avrdude: stk500_recv(): programmer is not responding
> avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
> avrdude: stk500_recv(): programmer is not responding
> avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
> avrdude: stk500_recv(): programmer is not responding



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: [LibreOffice 5.3/Ubuntu 17.04] Culmus Fonts not detected

2017-06-22 Thread Boruch Baum
On 2017-06-22 11:53, Nadav Har'El wrote:
> What does it take to "convert" a Type 1 font into OpenType or TrueType?
> Is it just a trivial format conversion issue, or something more
> involved? Is something lost in this conversion - precision, ability to
> edit, or anything else?

I just did a series of tests, and it doesn't seem to be a big deal.

1] In debian, install package 'fontforge'.

2] Create folder ~/.fonts

3] Copy a font's file to your home folder (I chose
/usr/share/fonts/X11/Type1/DorianCLM-Book.*)

4] Follow the instructions at ref[1], but before saving, for the
purpose of the test, go to menu 'element > font info' and change the
name of the font in all fields to something new and unique and
original, like ''.

5] When saving the font per the instructions at ref[1], select your
~/.fonts folder, and for the purpose of the test, name the saved font
file ''.

6] From the command line 'fc-list ' should return the path to your
new font.

7] Open libreoffice and test the font.

8] What about running in batch mode? Whoa, Google tells me that
'fontforge' supports python scripting[2], and the "simple example"[2]
is none other than converting a Type1 PostScript font (a pfb/afm
combination) into a TrueType font! I didn't play with that.


References:
[1] https://www.maketecheasier.com/how-to-convert-fonts-to-ttf-format-in-ubuntu/
[2] https://fontforge.github.io/scripting-tutorial.html


--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: [LibreOffice 5.3/Ubuntu 17.04] Culmus Fonts not detected

2017-06-22 Thread Dov Grobgeld
It should be quite trivial to do the conversion with the open source
package FontForge. Note that converting Type1 fonts to otf is a lossless
conversion, as OpenType is a superset of Type1 and TrueType. Type1 and
TrueType store the font paths differently as Type1 uses Bézier curves,
wheras TrueType uses quadratic B-splines.

See:

   - http://www.adobe.com/products/type/opentype/opentype-faq.html

Regards,

Dov

On Thu, Jun 22, 2017 at 12:04 PM, E.S. Rosenberg 
wrote:

> 2017-06-22 11:53 GMT+03:00 Nadav Har'El :
> > On Fri, Jun 02, 2017, E.S. Rosenberg wrote about "Re: [LibreOffice
> 5.3/Ubuntu 17.04] Culmus Fonts not detected":
> >> For those of you who are interested:
> >> As of 5.3 LO no longer supports Type1 fonts which is how the
> >> culmus-fancy font set ships.
> >> The best solution is to convert them to OpenType or TrueType fonts.
> >
> > Wow...
> > So I'm lucky that Fedora 25 which I use still uses LibreOffice 5.2.
> > Someone (TM) really needs to fix this issue, because I'm not aware of
> > any alternative quality Hebrew fonts on Linux...
> It's not as bad as it sounds, only some of the fonts are only packaged
> as Type1 (culmus-fancy is Type1 only) the rest either ships as
> OpenType or TrueType.
> There are also quite a few other Hebrew fonts out there part of the
> different distros.
> >
> > What does it take to "convert" a Type 1 font into OpenType or TrueType?
> > Is it just a trivial format conversion issue, or something more
> > involved? Is something lost in this conversion - precision, ability to
> > edit, or anything else?
> It seems to be a trivial conversion, I did it using the Adobe Font Dev
> Kit but it should also be possible using fontmagic and other OSS
> tools.
> The fonts seem to work fine and look the same as they used to.
> The conversion tool did give me some errors/warnings so I don't know
> 100% if they are OK.
> >
> > On https://bugs.documentfoundation.org/show_bug.cgi?id=104701
> > someone states (I have no idea if this statement is correct):
> >   " ... PS Type 1 font conversion is trivial, and most Adobe PS Type 1
> > was converted years ago and is distributed as TTF/OTF already."
> >
> >
> > Maxim, are you still on this list? It's been ages since I've been here
> > myself.
> If it's useful I'll upload the converted files somewhere...
> Regards,
> Eliyahu - אליהו
> >
> > --
> > Nadav Har'El| Thursday, Jun 22 2017, 28
> Sivan 5777
> > n...@math.technion.ac.il |-
> 
> > Phone/Telegram +972-523-790466  |Good things come to those who wait
> - but
> > http://nadav.harel.org.il   |only the things left by those who
> hurry.
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: [LibreOffice 5.3/Ubuntu 17.04] Culmus Fonts not detected

2017-06-22 Thread E.S. Rosenberg
2017-06-22 11:53 GMT+03:00 Nadav Har'El :
> On Fri, Jun 02, 2017, E.S. Rosenberg wrote about "Re: [LibreOffice 5.3/Ubuntu 
> 17.04] Culmus Fonts not detected":
>> For those of you who are interested:
>> As of 5.3 LO no longer supports Type1 fonts which is how the
>> culmus-fancy font set ships.
>> The best solution is to convert them to OpenType or TrueType fonts.
>
> Wow...
> So I'm lucky that Fedora 25 which I use still uses LibreOffice 5.2.
> Someone (TM) really needs to fix this issue, because I'm not aware of
> any alternative quality Hebrew fonts on Linux...
It's not as bad as it sounds, only some of the fonts are only packaged
as Type1 (culmus-fancy is Type1 only) the rest either ships as
OpenType or TrueType.
There are also quite a few other Hebrew fonts out there part of the
different distros.
>
> What does it take to "convert" a Type 1 font into OpenType or TrueType?
> Is it just a trivial format conversion issue, or something more
> involved? Is something lost in this conversion - precision, ability to
> edit, or anything else?
It seems to be a trivial conversion, I did it using the Adobe Font Dev
Kit but it should also be possible using fontmagic and other OSS
tools.
The fonts seem to work fine and look the same as they used to.
The conversion tool did give me some errors/warnings so I don't know
100% if they are OK.
>
> On https://bugs.documentfoundation.org/show_bug.cgi?id=104701
> someone states (I have no idea if this statement is correct):
>   " ... PS Type 1 font conversion is trivial, and most Adobe PS Type 1
> was converted years ago and is distributed as TTF/OTF already."
>
>
> Maxim, are you still on this list? It's been ages since I've been here
> myself.
If it's useful I'll upload the converted files somewhere...
Regards,
Eliyahu - אליהו
>
> --
> Nadav Har'El| Thursday, Jun 22 2017, 28 Sivan 5777
> n...@math.technion.ac.il 
> |-
> Phone/Telegram +972-523-790466  |Good things come to those who wait - but
> http://nadav.harel.org.il   |only the things left by those who hurry.

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: [LibreOffice 5.3/Ubuntu 17.04] Culmus Fonts not detected

2017-06-22 Thread Nadav Har'El
On Fri, Jun 02, 2017, E.S. Rosenberg wrote about "Re: [LibreOffice 5.3/Ubuntu 
17.04] Culmus Fonts not detected":
> For those of you who are interested:
> As of 5.3 LO no longer supports Type1 fonts which is how the
> culmus-fancy font set ships.
> The best solution is to convert them to OpenType or TrueType fonts.

Wow...
So I'm lucky that Fedora 25 which I use still uses LibreOffice 5.2.
Someone (TM) really needs to fix this issue, because I'm not aware of
any alternative quality Hebrew fonts on Linux...

What does it take to "convert" a Type 1 font into OpenType or TrueType?
Is it just a trivial format conversion issue, or something more
involved? Is something lost in this conversion - precision, ability to
edit, or anything else?

On https://bugs.documentfoundation.org/show_bug.cgi?id=104701
someone states (I have no idea if this statement is correct):
  " ... PS Type 1 font conversion is trivial, and most Adobe PS Type 1
was converted years ago and is distributed as TTF/OTF already."


Maxim, are you still on this list? It's been ages since I've been here
myself.

-- 
Nadav Har'El| Thursday, Jun 22 2017, 28 Sivan 5777
n...@math.technion.ac.il |-
Phone/Telegram +972-523-790466  |Good things come to those who wait - but
http://nadav.harel.org.il   |only the things left by those who hurry.

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il